mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 18:33:14 +00:00
ipc-server: improve error message
This commit is contained in:
parent
7fea36750e
commit
476773dd32
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue