mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
curl tool: add filename_effective token for --write-out
By modifying the parameter list for ourWriteOut() and passing the OutStruct that collects data in tool_operate, we get access to the remote name that we're writing to. Shell scripters should find this useful when used in conjuntion with the --remote-header-name option.
This commit is contained in:
parent
54866b68cd
commit
ddfe821bcf
4 changed files with 15 additions and 3 deletions
|
|
@ -23,6 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "setup.h"
|
||||
|
||||
void ourWriteOut(CURL *curl, const char *out);
|
||||
void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo);
|
||||
|
||||
#endif /* HEADER_CURL_TOOL_WRITEOUT_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue