]> granicus.if.org Git - curl/commitdiff
metalink: remove unused printf() argument
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 Jun 2017 12:00:23 +0000 (14:00 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Jun 2017 12:35:26 +0000 (14:35 +0200)
src/tool_metalink.c

index f4173562f98e301ea12681a3dbe2f90f3ef01d0e..7646a7fdf214cc1e5ebb84b78487c79132d7b382 100644 (file)
@@ -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 ||