From 4849267197682e69cfa056c2bd7a44acd123a917 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 17 Dec 2018 12:51:51 +0100 Subject: curl -J: do not append to the destination file Reported-by: Kamil Dudka Fixes #3380 Closes #3381 --- src/tool_cb_wrt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tool_cb_wrt.h') 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 */ -- cgit v1.2.3