]> sjero.net Git - wget/blobdiff - src/convert.c
Fix build when libpsl is not available
[wget] / src / convert.c
index e1c58e9ae0f6c7a79ebf60c5d5ffcab0633ac79b..abad5db09af50bb528f9c5f102596b6be1a613ba 100644 (file)
@@ -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.  */