... and also, please open your eyes (upper vs. lowercase letters).
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 3 May 2014 17:25:52 +0000 (17:25 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 3 May 2014 17:25:52 +0000 (17:25 +0000)
svn path=/trunk/; revision=63136

reactos/base/applications/network/ftp/cmds.c

index d1e3d4d..5a7aa76 100644 (file)
@@ -1303,13 +1303,13 @@ void shell(int argc, const char *argv[])
 
     if (argc > 1)
     {
-        strncat(CmdLine, " /C", MAX_PATH - strlen(Cmdline) - 1);
+        strncat(CmdLine, " /C", MAX_PATH - strlen(CmdLine) - 1);
     }
 
     for (i=1; i<argc; i++)
     {
-        strncat(CmdLine, " ", MAX_PATH - strlen(Cmdline) - 1);
-        strncat(CmdLine, argv[i], MAX_PATH - strlen(Cmdline) -1); 
+        strncat(CmdLine, " ", MAX_PATH - strlen(CmdLine) - 1);
+        strncat(CmdLine, argv[i], MAX_PATH - strlen(CmdLine) -1); 
     }
 
     StartupInfo.cb          = sizeof( StartupInfo );