diff options
author | Jason Nader <jason.nader@protonmail.com> | 2020-03-01 03:49:54 +0900 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-02-29 19:59:42 +0100 |
commit | 476773dd32e2f423f58dea39fac8b2dc0ba085b9 (patch) | |
tree | b6cbdc8def15ab603d0ccf93abffb4a24071fb4e | |
parent | 7fea36750ea23906c41c18a2768acad2f51b2916 (diff) |
ipc-server: improve error message
-rw-r--r-- | sway/ipc-server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 54b33ca6..5e1cca89 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -923,7 +923,8 @@ bool ipc_send_reply(struct ipc_client *client, enum ipc_command_type payload_typ } if (client->write_buffer_size > 4e6) { // 4 MB - sway_log(SWAY_ERROR, "Client write buffer too big, disconnecting client"); + sway_log(SWAY_ERROR, "Client write buffer too big (%zu), disconnecting client", + client->write_buffer_size); ipc_client_disconnect(client); return false; } |