mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
Merge remote-tracking branch 'origin/pr/680'
This commit is contained in:
@@ -368,9 +368,14 @@ xfer_dcc_recv_file_child (struct t_xfer *xfer)
|
||||
ready = poll (&poll_fd, 1, -1);
|
||||
if (ready <= 0)
|
||||
{
|
||||
xfer_network_write_pipe (xfer, XFER_STATUS_FAILED,
|
||||
XFER_ERROR_RECV_BLOCK);
|
||||
return;
|
||||
if ((errno == EINTR) || (errno == EAGAIN))
|
||||
continue;
|
||||
else
|
||||
{
|
||||
xfer_network_write_pipe (xfer, XFER_STATUS_FAILED,
|
||||
XFER_ERROR_RECV_BLOCK);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* read maximum data on socket (until nothing is available) */
|
||||
|
||||
Reference in New Issue
Block a user