diff options
Diffstat (limited to 'src/tool_operhlp.c')
-rw-r--r-- | src/tool_operhlp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tool_operhlp.c b/src/tool_operhlp.c index 48129973f..e25a3cf60 100644 --- a/src/tool_operhlp.c +++ b/src/tool_operhlp.c @@ -173,8 +173,7 @@ fail: * Returns a pointer to a heap-allocated string or NULL if * no name part, at location indicated by first argument. */ -CURLcode get_url_file_name(struct GlobalConfig *global, - char **filename, const char *url) +CURLcode get_url_file_name(char **filename, const char *url) { CURLU *uh = curl_url(); char *path = NULL; @@ -212,7 +211,7 @@ CURLcode get_url_file_name(struct GlobalConfig *global, else { /* no slash => empty string, use default */ *filename = strdup("curl_response"); - warnf(global, "No remote file name, uses \"%s\"", *filename); + warnf("No remote file name, uses \"%s\"", *filename); } curl_free(path); |