From 11cdfaf69d85b3d814eeaaf7ee0acd8a067db878 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 23 Jun 2009 13:57:02 +0000 Subject: [PATCH] patch git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13906 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- patches/MODAPP-293.diff | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 patches/MODAPP-293.diff diff --git a/patches/MODAPP-293.diff b/patches/MODAPP-293.diff new file mode 100644 index 0000000000..dfb109d423 --- /dev/null +++ b/patches/MODAPP-293.diff @@ -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)