[Freeswitch-trunk] [commit] r13906 - freeswitch/trunk/patches

FreeSWITCH SVN anthm at freeswitch.org
Tue Jun 23 06:57:02 PDT 2009


Author: anthm
Date: Tue Jun 23 08:57:02 2009
New Revision: 13906

Log:
patch

Added:
   freeswitch/trunk/patches/MODAPP-293.diff

Added: freeswitch/trunk/patches/MODAPP-293.diff
==============================================================================
--- (empty file)
+++ freeswitch/trunk/patches/MODAPP-293.diff	Tue Jun 23 08:57:02 2009
@@ -0,0 +1,26 @@
+Index: libs/xmlrpc-c/lib/abyss/src/socket_unix.c
+===================================================================
+--- libs/xmlrpc-c/lib/abyss/src/socket_unix.c	(revision 13903)
++++ libs/xmlrpc-c/lib/abyss/src/socket_unix.c	(working copy)
+@@ -227,20 +227,8 @@
+     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);
++    rc = recv(socketUnixP->fd, buffer, bufferSize, 0);
+ 
+-	if ((rc = select(socketUnixP->fd + 1, &rfds, NULL, &efds, &tv)) > 0) {
+-		rc = recv(socketUnixP->fd, buffer, bufferSize, 0);
+-	} else {
+-		rc = -1;
+-	}
+-
+     if (rc < 0) {
+         *failedP = TRUE;
+         if (ChannelTraceIsActive)



More information about the Freeswitch-trunk mailing list