X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=send_common.c;h=8653c330e6b0eb24bacb239c3904062105ea3128;hp=200e59ab266e7f9c145e6aa7a3dc65ba25d83f52;hb=91edaa02c232edf82b93a928058c044df80badc1;hpb=af2dd94bcaaaa8fbdc3301caf0acea97c07b9b93 diff --git a/send_common.c b/send_common.c index 200e59ab..8653c330 100644 --- a/send_common.c +++ b/send_common.c @@ -159,8 +159,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);