X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconvert.c;h=f5a9cba328cfeb88bcf33f2965a8b53e19cc0044;hp=e1c58e9ae0f6c7a79ebf60c5d5ffcab0633ac79b;hb=38a7829dcb4eb5dba28dbf0f05c6a80fea9217f8;hpb=e93bb4fa28bfb58622db8ca0b084f52fd52eb956 diff --git a/src/convert.c b/src/convert.c index e1c58e9a..f5a9cba3 100644 --- a/src/convert.c +++ b/src/convert.c @@ -124,6 +124,9 @@ convert_links_in_hashtable (struct hash_table *downloaded_set, set_uri_encoding (pi, opt.locale, true); u = url_parse (cur_url->url->url, NULL, pi, true); + if (!u) + continue; + local_name = hash_table_get (dl_url_file_map, u->url); /* Decide on the conversion type. */