X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=82c6d8deb3103696da3f136b5192e952445506d5;hp=14176aac0af659d58f78e354db861f2c82d1ffbe;hb=0a3697ad652df74ffeec8a97e1d23c343d8ef391;hpb=ebea9e7e0bdff6c488928253cea82cbb22edd3cc diff --git a/src/http.c b/src/http.c index 14176aac..82c6d8de 100644 --- a/src/http.c +++ b/src/http.c @@ -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; }