]> Zhao Yanbai Git Server - minix.git/commitdiff
urlget: broken ftpget call, reported by Charles Littlefield
authorDavid van Moolenbroek <david@minix3.org>
Sun, 23 Aug 2009 13:53:03 +0000 (13:53 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 23 Aug 2009 13:53:03 +0000 (13:53 +0000)
commands/urlget/urlget.c

index 37c343c1533ecce64013584958b93f0549edf711..8b0e3d17b17edd4e9e803b14dcf217fb30c708b1 100755 (executable)
@@ -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) {