diff --git a/src/plugins/xfer/xfer-dcc.c b/src/plugins/xfer/xfer-dcc.c index f76d9148415..4a9c3c556f4 100644 --- a/src/plugins/xfer/xfer-dcc.c +++ b/src/plugins/xfer/xfer-dcc.c @@ -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 {