aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c
index 50f4a1ee8..2a69dd7fb 100644
--- a/src/client.c
+++ b/src/client.c
@@ -615,6 +615,7 @@ static void client_write_deferred(struct client *client)
client->deferred_bytes -= ret;
buf->size -= ret;
memmove(buf->data, buf->data + ret, buf->size);
+ break;
} else {
size_t decr = sizeof(*buf) -
sizeof(buf->data) + buf->size;