urlget: broken ftpget call, reported by Charles Littlefield

This commit is contained in:
David van Moolenbroek 2009-08-23 13:53:03 +00:00
parent 47e6506d7b
commit d84472dfc8

View file

@ -514,7 +514,7 @@ int opt_p = 0;
argc++;
} else
*pass = '\0';
s = ftpget(host, port, user, path, path, 'i');
s = ftpget(host, port, user, pass, path, 'i');
return(s);
}
if(strcmp(prog, "httpget") == 0) {