Merge branch 'maint'
authorAndre Noll <maan@systemlinux.org>
Thu, 12 Nov 2009 23:48:19 +0000 (00:48 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 12 Nov 2009 23:48:19 +0000 (00:48 +0100)
send_common.c

index 388fde0..2af6a8d 100644 (file)
@@ -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);