Fix bug with xfer transferts (IRC DCC): transfert ended abruptly when terminal was resized
This commit is contained in:
parent
5596f7e10c
commit
edd70d4636
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user