aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZandr Martin <zandrmartin+git@gmail.com>2016-05-31 09:25:54 -0500
committerZandr Martin <zandrmartin+git@gmail.com>2016-05-31 09:25:54 -0500
commit1b4d61662c1deddbf48c3392e40f6ac6a888bc90 (patch)
tree9a74f7bbf693d67328996a899c26f4ab4f39bfd0
parent7f6b3d1c1f0727c8db623c18cc8a4fd948be995d (diff)
fix swaybar problem in 08bef67
-rw-r--r--sway/ipc-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 13e1837a..484d7e51 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -490,6 +490,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
}
exit_cleanup:
+ client->payload_length = 0;
free(buf);
return;
}