--- a/pjlib/src/pj/os_core_win32.c
+++ b/pjlib/src/pj/os_core_win32.c
@@ -1336,9 +1336,6 @@
 
     PJ_LOG(6, (event->obj_name, "Pulsing event"));
 
-    if (PulseEvent(event->hEvent))
-        return PJ_SUCCESS;
-    else
         return PJ_RETURN_OS_ERROR(GetLastError());
 }
 
