Change ftpput so it uses <remote-path> <local-file> as it should
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 13 Dec 2002 05:57:46 +0000 (05:57 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 13 Dec 2002 05:57:46 +0000 (05:57 -0000)
networking/ftpgetput.c

index cad34073856eb8201e8baa2534fa8c8e90614be8..909f3b117fe6639092aa98664249bb9040e0587e 100644 (file)
@@ -266,7 +266,7 @@ static int ftp_recieve(FILE *control_stream, const char *host, const char *local
 #endif
 
 #ifdef CONFIG_FTPPUT
-static int ftp_send(FILE *control_stream, const char *host, const char *local_path, char *server_path)
+static int ftp_send(FILE *control_stream, const char *host, const char *server_path, char *local_path)
 {
        struct stat sbuf;
        char buf[512];