X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=send_common.c;h=354c9ed509deddc14f4528ce318e0d1ad90a8b7e;hb=869f0e06ec4e15abc9230c1b2d7615da5250802e;hp=71e0852a665d2222cf0ae8fa3b05856d1ab5db2e;hpb=1cefe6a503c74d609db4e99e689d46575a5e40fd;p=paraslash.git diff --git a/send_common.c b/send_common.c index 71e0852a..354c9ed5 100644 --- a/send_common.c +++ b/send_common.c @@ -113,7 +113,7 @@ int send_queued_chunks(int fd, struct chunk_queue *cq) int ret; cq_get(qc, &buf, &len); - ret = write_nonblock(fd, buf, len); + ret = xwrite(fd, buf, len); if (ret < 0) return ret; cq_update(cq, ret);