X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=http_send.c;h=eddc0295f229a26c4e826d8656712c4609a35989;hp=c26572f024557fc4f206835a7e93f24cf59d0231;hb=30112f921d2bc97160e4b7ef3762a9ad3ad15ea3;hpb=748d1368bc96dd7e1af879df1ea41b4d52842f7e diff --git a/http_send.c b/http_send.c index c26572f0..eddc0295 100644 --- a/http_send.c +++ b/http_send.c @@ -125,7 +125,7 @@ static void http_send_chunk(struct sender_client *sc, struct sender_status *ss, ret = queue_chunk_or_shutdown(sc, ss, buf, len); goto out; } - ret = write_nonblock(sc->fd, buf, len); + ret = xwrite(sc->fd, buf, len); if (ret < 0) { shutdown_client(sc, ss); goto out;