[Freeswitch-svn] [commit] r4015 - freeswitch/trunk/libs/iax/src

Freeswitch SVN mikej at freeswitch.org
Mon Jan 22 11:54:31 EST 2007


Author: mikej
Date: Mon Jan 22 11:54:30 2007
New Revision: 4015

Modified:
   freeswitch/trunk/libs/iax/src/iax.c

Log:
use closesocket on sockets.. not close

Modified: freeswitch/trunk/libs/iax/src/iax.c
==============================================================================
--- freeswitch/trunk/libs/iax/src/iax.c	(original)
+++ freeswitch/trunk/libs/iax/src/iax.c	Mon Jan 22 11:54:30 2007
@@ -949,7 +949,7 @@
 #ifdef	WIN32
 	    flags = 1;
 	    if (ioctlsocket(netfd,FIONBIO,(unsigned long *) &flags)) {
-		    _close(netfd);
+		    closesocket(netfd);
 		    netfd = -1;
 		    DEBU(G "Unable to set non-blocking mode.");
 		    IAXERROR "Unable to set non-blocking mode.");



More information about the Freeswitch-svn mailing list