mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
Fix bug with xfer transferts (IRC DCC): transfert ended abruptly when terminal was resized
This commit is contained in:
@@ -186,7 +186,7 @@ xfer_dcc_recv_file_child (struct t_xfer *xfer)
|
||||
if (num_read == -1)
|
||||
{
|
||||
/* socket is temporarily not available (sender is not fast ?!) */
|
||||
if (errno == EAGAIN)
|
||||
if ((errno == EAGAIN) || (errno == EINTR))
|
||||
usleep (1000);
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user