]> sjero.net Git - wget/blobdiff - src/http.c
[svn] New mechanism for quoting file names.
[wget] / src / http.c
index 14176aac0af659d58f78e354db861f2c82d1ffbe..82c6d8deb3103696da3f136b5192e952445506d5 100644 (file)
@@ -1614,12 +1614,12 @@ http_loop (struct url *u, char **newloc, char **local_file, const char *referer,
     hstat.local_file = local_file;
   else if (local_file)
     {
-      *local_file = url_filename (u);
+      *local_file = url_file_name (u);
       hstat.local_file = local_file;
     }
   else
     {
-      dummy = url_filename (u);
+      dummy = url_file_name (u);
       hstat.local_file = &dummy;
     }