From e7c9b34b8dac2c3addb3860ef4ba720854b215a6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 25 Jun 2009 01:07:03 +0000 Subject: [PATCH] revert git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13945 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/xmlrpc-c/lib/abyss/src/socket_unix.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/libs/xmlrpc-c/lib/abyss/src/socket_unix.c b/libs/xmlrpc-c/lib/abyss/src/socket_unix.c index b2ebdf12c0..623185269e 100644 --- a/libs/xmlrpc-c/lib/abyss/src/socket_unix.c +++ b/libs/xmlrpc-c/lib/abyss/src/socket_unix.c @@ -227,19 +227,7 @@ channelRead(TChannel * const channelP, 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;