- Fix a typo
authorCameron Gutman <aicommander@gmail.com>
Sat, 4 Jul 2009 00:04:05 +0000 (00:04 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 4 Jul 2009 00:04:05 +0000 (00:04 +0000)
svn path=/trunk/; revision=41761

reactos/base/services/dhcp/adapter.c

index 6604418..51ba93a 100644 (file)
@@ -160,7 +160,7 @@ BOOL PrepareAdapterForService( PDHCP_ADAPTER Adapter ) {
     if( AdapterKey )
         IPAddress = RegReadString( AdapterKey, NULL, "IPAddress" );
 
-    if( IPAddress && strcmp( IPAddress, "0.0.0.0" ) ) {
+    if( IPAddress && !strcmp( IPAddress, "0.0.0.0" ) ) {
         /* Non-automatic case */
         DH_DbgPrint
             (MID_TRACE,("Adapter Name: [%s] (Bind Status %x) (static %s)\n",