(clntudp_call): Don't block in recvfrom call even if the poll result indicates there is data to read.

This commit is contained in:
Ulrich Drepper 2007-10-18 22:23:57 +00:00
parent 39cfc9fab5
commit 7e9f348f41

View file

@ -413,7 +413,7 @@ send_again:
{
fromlen = sizeof (struct sockaddr);
inlen = __recvfrom (cu->cu_sock, cu->cu_inbuf,
(int) cu->cu_recvsz, 0,
(int) cu->cu_recvsz, MSG_DONTWAIT,
(struct sockaddr *) &from, &fromlen);
}
while (inlen < 0 && errno == EINTR);