[Freeswitch-svn] [commit] r8642 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su

Freeswitch SVN mikej at freeswitch.org
Sun May 25 17:18:43 EDT 2008


Author: mikej
Date: Sun May 25 17:18:42 2008
New Revision: 8642

Modified:
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_wait.c

Log:
fix build

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_wait.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_wait.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_wait.c	Sun May 25 17:18:42 2008
@@ -185,11 +185,11 @@
 int su_wait_destroy(su_wait_t *waitobj)
 {
 #if SU_HAVE_WINSOCK
-  su_wait_t w0 = NULL;
   assert(waitobj != NULL);
   if (*waitobj)
     WSACloseEvent(*waitobj);
 #else
+  su_wait_t w0 = NULL;
   su_wait_t w0 = { INVALID_SOCKET, 0, 0 };
   assert(waitobj != NULL);
   *waitobj = w0;



More information about the Freeswitch-svn mailing list