--- libaitrpc/src/aitrpc.c 2013/11/15 09:55:52 1.13 +++ libaitrpc/src/aitrpc.c 2013/12/12 23:21:38 1.13.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.c,v 1.13 2013/11/15 09:55:52 misho Exp $ +* $Id: aitrpc.c,v 1.13.4.1 2013/12/12 23:21:38 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -218,8 +218,10 @@ rpc_Write(int sock, int type, int flags, sockaddr_t * for (len = blen; len > 0; len -= ret, buf += ret) { if ((ret = poll(&pfd, 1, DEF_RPC_TIMEOUT * 1000)) < 1 || pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { +#if 0 if (!ret) continue; +#endif if (ret > 0) rpc_SetErr(EPIPE, "Disconnected RPC session\n"); else