Remove incorrect error message
authorDan Mihai <Daniel.Mihai@microsoft.com>
Tue, 7 Mar 2017 11:40:06 +0000 (03:40 -0800)
committerMike Fenelon <mike.fenelon@microsoft.com>
Thu, 9 Mar 2017 18:26:07 +0000 (18:26 +0000)
Fix typo resulting in incorrect error message.

Change-Id: I0ffee0c873e6f1c08e510a48961d27d1a37a630f
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17727
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Mike Fenelon <mike.fenelon@microsoft.com>
resource/csdk/connectivity/src/ip_adapter/caipserver.c

index 542be30..9e346cc 100644 (file)
@@ -822,7 +822,7 @@ static void CARegisterForAddressChanges()
     OIC_LOG_V(DEBUG, TAG, "IN %s", __func__);
 #ifdef _WIN32
     caglobals.ip.addressChangeEvent = WSACreateEvent();
-    if (WSA_INVALID_EVENT != caglobals.ip.addressChangeEvent)
+    if (WSA_INVALID_EVENT == caglobals.ip.addressChangeEvent)
     {
         OIC_LOG(ERROR, TAG, "WSACreateEvent failed");
     }