diff options
author | 2015-09-29 07:19:10 -0700 | |
---|---|---|
committer | 2015-09-29 07:19:10 -0700 | |
commit | c963aa7ceda5f5a5ea5d648ec291d62b74e84ac9 (patch) | |
tree | 92178627be2ef7e5d651bfaf075c3af52065697e /sway/ipc.c | |
parent | Merge pull request #181 from taiyu-len/master (diff) | |
download | sway-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |