X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fsocket.c;h=662224e5dc1ceed1d72fe1c3d73663d22bc15799;hb=1cd9b20f9661b8ca042dadbe512d145f138680c8;hp=4145899da040887ae10cd5a84589ed0d874923bc;hpb=f5e8cf973023b76f479c0db9269d08dd3b1d477d;p=catta diff --git a/src/socket.c b/src/socket.c index 4145899..662224e 100644 --- a/src/socket.c +++ b/src/socket.c @@ -462,7 +462,7 @@ static int sendmsg_loop(int fd, struct msghdr *msg, int flags) { if (errno == EINTR) continue; - if (errno != EAGAIN) { + if (errno != EAGAIN && errno != EWOULDBLOCK) { char where[64]; struct sockaddr_in *sin = msg->msg_name;