[Freeswitch-svn] [commit] r13945 - freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Jun 24 18:07:04 PDT 2009


Author: anthm
Date: Wed Jun 24 20:07:03 2009
New Revision: 13945

Log:
revert

Modified:
   freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_unix.c

Modified: freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_unix.c
==============================================================================
--- freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_unix.c	(original)
+++ freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_unix.c	Wed Jun 24 20:07:03 2009
@@ -227,19 +227,7 @@
     struct socketUnix * const socketUnixP = channelP->implP;
 
     int rc;
-	fd_set rfds, efds;
-	struct timeval tv = { 10, 0 };
-	
-	FD_ZERO(&rfds);
-	FD_ZERO(&efds);
-	FD_SET(socketUnixP->fd, &rfds);
-	FD_SET(socketUnixP->fd, &efds);
-
-	if ((rc = select(socketUnixP->fd + 1, &rfds, NULL, &efds, &tv)) > 0) {
-		rc = recv(socketUnixP->fd, buffer, bufferSize, 0);
-	} else {
-		rc = -1;
-	}
+    rc = recv(socketUnixP->fd, buffer, bufferSize, 0);
 
     if (rc < 0) {
         *failedP = TRUE;



More information about the Freeswitch-svn mailing list