X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=jam.c;fp=jam.c;h=581d51c91200a69696aabe8d39e9519b19c250ca;hb=b1ce9404c6aaf3105377489bfc8d0bf27ad67b3b;hp=eb7dc1a09bc621da8aeee6c2b102f8084832bc3a;hpb=c329b5bf838d692d8a94117874795024783cd197;p=jam diff --git a/jam.c b/jam.c index eb7dc1a..581d51c 100644 --- a/jam.c +++ b/jam.c @@ -251,6 +251,9 @@ void *sender_worker(void *arg) ret = send(s->fd, buf, bytes_to_send, MSG_NOSIGNAL); if (ret == -1) { + if (errno == EAGAIN) + continue; + perror("send()"); exit(1); }