X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=send_common.c;h=8653c330e6b0eb24bacb239c3904062105ea3128;hp=200e59ab266e7f9c145e6aa7a3dc65ba25d83f52;hb=3bbec8ac8ab1879d24acbff447850c0e3872daa7;hpb=0b36e0a77fc750af85e969efda7bda0931f389d0 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);