diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-12-17 12:51:51 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-12-19 08:44:02 +0100 |
commit | 4849267197682e69cfa056c2bd7a44acd123a917 (patch) | |
tree | a6d0ed8d497b48ebdcd7dd6bb837d49662d561e6 /src/tool_cb_wrt.h | |
parent | f097669248a877dece74fdb525e82bfe1b69df90 (diff) | |
download | curl-4849267197682e69cfa056c2bd7a44acd123a917.tar.gz |
curl -J: do not append to the destination file
Reported-by: Kamil Dudka
Fixes #3380
Closes #3381
Diffstat (limited to 'src/tool_cb_wrt.h')
-rw-r--r-- | src/tool_cb_wrt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_cb_wrt.h b/src/tool_cb_wrt.h index 51e002bea..188d3ea7d 100644 --- a/src/tool_cb_wrt.h +++ b/src/tool_cb_wrt.h @@ -30,6 +30,6 @@ size_t tool_write_cb(char *buffer, size_t sz, size_t nmemb, void *userdata); /* create a local file for writing, return TRUE on success */ -bool tool_create_output_file(struct OutStruct *outs, bool append); +bool tool_create_output_file(struct OutStruct *outs); #endif /* HEADER_CURL_TOOL_CB_WRT_H */ |