[Freeswitch-svn] [commit] r4267 - freeswitch/trunk/src/mod/endpoints/mod_woomera

Freeswitch SVN mikej at freeswitch.org
Wed Feb 14 14:31:58 EST 2007


Author: mikej
Date: Wed Feb 14 14:31:58 2007
New Revision: 4267

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c

Log:
thats not a real fd, it's a switch_socket_t *

Modified: freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c	Wed Feb 14 14:31:58 2007
@@ -646,7 +646,7 @@
 
 	memset(wmsg, 0, sizeof(woomera_message));
 
-	if (fd < 0) {
+	if (!fd) {
 		return -1;
 	}
 



More information about the Freeswitch-svn mailing list