Skip to content

Commit

Permalink
Fix bug with xfer transferts (IRC DCC): transfert ended abruptly when…
Browse files Browse the repository at this point in the history
… terminal was resized
  • Loading branch information
flashcode committed Dec 19, 2008
1 parent 5596f7e commit edd70d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/xfer/xfer-dcc.c
Expand Up @@ -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
{
Expand Down

0 comments on commit edd70d4

Please sign in to comment.