Author: gedmurphy
Date: Mon Aug 28 23:33:28 2006
New Revision: 23760
URL:
http://svn.reactos.org/svn/reactos?rev=23760&view=rev
Log:
couple of minor fixes.
Modified:
trunk/reactos/base/applications/network/ipconfig/En.rc
trunk/reactos/base/applications/network/ipconfig/ipconfig.c
trunk/reactos/base/applications/network/ipconfig/ipconfig.rc
Modified: trunk/reactos/base/applications/network/ipconfig/En.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ipconfig/En.rc (original)
+++ trunk/reactos/base/applications/network/ipconfig/En.rc Mon Aug 28 23:33:28 2006
@@ -1,3 +1,4 @@
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE DISCARDABLE
BEGIN
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 (original)
+++ trunk/reactos/base/applications/network/ipconfig/ipconfig.c Mon Aug 28 23:33:28 2006
@@ -443,7 +443,7 @@
if (bAll)
{
- _tprintf(_T("\tDescription . . . . . . . . . . . : %s\n"),
GetConnectionDescription(pAdapter->AdapterName)); /// here !!
+ _tprintf(_T("\tDescription . . . . . . . . . . . : %s\n"),
GetConnectionDescription(pAdapter->AdapterName));
_tprintf(_T("\tPhysical Address. . . . . . . . . : %s\n"),
PrintMacAddr(pAdapter->Address));
if (pAdapter->DhcpEnabled)
_tprintf(_T("\tDHCP Enabled. . . . . . . . . . . : Yes\n"));
@@ -497,6 +497,7 @@
VOID Release(LPTSTR Index)
{
IP_ADAPTER_INDEX_MAP AdapterInfo;
+ DWORD ret;
/* if interface is not given, query GetInterfaceInfo */
if (Index == NULL)
@@ -541,10 +542,10 @@
/* Call IpReleaseAddress to release the IP address on the specified adapter. */
- if (IpReleaseAddress(&AdapterInfo) != NO_ERROR)
+ if (ret = IpReleaseAddress(&AdapterInfo) != NO_ERROR)
{
_tprintf(_T("\nAn error occured while releasing interface %S : \n"),
AdapterInfo.Name);
- DoFormatMessage(0);
+ DoFormatMessage(ret);
}
}
Modified: trunk/reactos/base/applications/network/ipconfig/ipconfig.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ipconfig/ipconfig.rc (original)
+++ trunk/reactos/base/applications/network/ipconfig/ipconfig.rc Mon Aug 28 23:33:28 2006
@@ -5,9 +5,7 @@
#define REACTOS_STR_FILE_DESCRIPTION "IP Configuration utility\0"
#define REACTOS_STR_INTERNAL_NAME "ipconfig\0"
#define REACTOS_STR_ORIGINAL_FILENAME "ipconfig.exe\0"
-#define REACTOS_STR_ORIGINAL_COPYRIGHT "Ged Murphy <gedmurphy(a)gmail.com\0"
+#define REACTOS_STR_ORIGINAL_COPYRIGHT "Ged Murphy
<gedmurphy(a)gmail.com>\0"
#include <reactos/version.rc>
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-
#include "En.rc"