mirror of git://sourceware.org/git/glibc.git
(clntudp_call): Don't block in recvfrom call even if the poll result indicates there is data to read.
This commit is contained in:
parent
39cfc9fab5
commit
7e9f348f41
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue