aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc.c
diff options
context:
space:
mode:
authorLibravatar taiyu <taiyu.len@gmail.com>2015-09-29 07:19:10 -0700
committerLibravatar taiyu <taiyu.len@gmail.com>2015-09-29 07:19:10 -0700
commitc963aa7ceda5f5a5ea5d648ec291d62b74e84ac9 (patch)
tree92178627be2ef7e5d651bfaf075c3af52065697e /sway/ipc.c
parentMerge pull request #181 from taiyu-len/master (diff)
downloadsway-c963aa7ceda5f5a5ea5d648ec291d62b74e84ac9.tar.gz
sway-c963aa7ceda5f5a5ea5d648ec291d62b74e84ac9.tar.zst
sway-c963aa7ceda5f5a5ea5d648ec291d62b74e84ac9.zip
return after disconnect ipc client and minor checks
Diffstat (limited to 'sway/ipc.c')
-rw-r--r--sway/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc.c b/sway/ipc.c
index abf2ed0c..0d111778 100644
--- a/sway/ipc.c
+++ b/sway/ipc.c
@@ -253,7 +253,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
253 default: 253 default:
254 sway_log(L_INFO, "Unknown IPC command type %i", client->current_command); 254 sway_log(L_INFO, "Unknown IPC command type %i", client->current_command);
255 ipc_client_disconnect(client); 255 ipc_client_disconnect(client);
256 break; 256 return;
257 } 257 }
258 258
259 client->payload_length = 0; 259 client->payload_length = 0;