Author: hbelusca
Date: Sat May 3 17:58:26 2014
New Revision: 63137
URL:
http://svn.reactos.org/svn/reactos?rev=63137&view=rev
Log:
[IPCONFIG]
Fix lines inversion, based on a patch by Victor Martinez.
CORE-8146 #resolve
Modified:
trunk/reactos/base/applications/network/ftp/cmds.c
trunk/reactos/base/applications/network/ipconfig/ipconfig.c
Modified: trunk/reactos/base/applications/network/ftp/cmds.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ftp/cmds.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/ftp/cmds.c [iso-8859-1] Sat May 3 17:58:26
2014
@@ -1309,7 +1309,7 @@
for (i=1; i<argc; i++)
{
strncat(CmdLine, " ", MAX_PATH - strlen(CmdLine) - 1);
- strncat(CmdLine, argv[i], MAX_PATH - strlen(CmdLine) -1);
+ strncat(CmdLine, argv[i], MAX_PATH - strlen(CmdLine) - 1);
}
StartupInfo.cb = sizeof( StartupInfo );
Modified: trunk/reactos/base/applications/network/ipconfig/ipconfig.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ipconfig/ipconfig.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/ipconfig/ipconfig.c [iso-8859-1] Sat May 3
17:58:26 2014
@@ -333,8 +333,8 @@
(PBYTE)lpKeyClass,
&dwDataSize) != ERROR_SUCCESS)
{
+ HeapFree(ProcessHeap, 0, lpKeyClass);
lpKeyClass = NULL;
- HeapFree(ProcessHeap, 0, lpKeyClass);
continue;
}
}