summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-07 14:00:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-07 14:35:26 +0200
commitf7ee701c612426cb83c7e8e08c75b4b9febed6a3 (patch)
treed60e84354a9a80ae425be7a2b536cd7364bbff11
parente100afb4d8697e9c5f0e4b34b3b6f2b45337e442 (diff)
downloadcurl-f7ee701c612426cb83c7e8e08c75b4b9febed6a3.tar.gz
metalink: remove unused printf() argument
-rw-r--r--src/tool_metalink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_metalink.c b/src/tool_metalink.c
index f4173562f..7646a7fdf 100644
--- a/src/tool_metalink.c
+++ b/src/tool_metalink.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -812,7 +812,7 @@ int parse_metalink(struct OperationConfig *config, struct OutStruct *outs,
if(!(*files)->resources) {
fprintf(config->global->errors, "Metalink: parsing (%s) WARNING "
"(missing or invalid resource)\n",
- metalink_url, (*files)->name);
+ metalink_url);
continue;
}
if(config->url_get ||