X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=send_common.c;h=2af6a8dad7b80cec0e72c621c44be3a3d98a74bf;hp=388fde03bdd4399d40ef3d9ad127f81a8ea75cb3;hb=6b2414cd3ea3437ffb39d25ddc60eeecf3194ebc;hpb=43e0a7f669d782e73513119b7140dc4e56bcc3d7 diff --git a/send_common.c b/send_common.c index 388fde03..2af6a8da 100644 --- a/send_common.c +++ b/send_common.c @@ -162,8 +162,8 @@ void send_chunk(struct sender_client *sc, struct sender_status *ss, if (ret < 0) goto out; } - sc->header_sent = 1; } + sc->header_sent = 1; ret = send_queued_chunks(sc->fd, sc->cq, max_bytes_per_write); if (ret < 0) { shutdown_client(sc, ss);