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, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , 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 ||