sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 18476b0ec1fa58aa558f4c6b821e7243a64e4924
parent de5cfa7232b5011e291da368baba7945f10b5724
Author: Brian Ashworth <bosrsf04@gmail.com>
Date:   Mon, 27 May 2019 00:33:52 -0400

common/ipc-client: remove ipc recv timeout log

This just removes the ipc recv timeout log statement in
`ipc_recv_set_timeout`. The `tv_sec` field of `struct timeval` has
varying types and/or sizes depending on the platform and architecture.
On some of these, the current format string will cause compilation
errors. Additionally, the log statement is not extremely useful and the
function is currently only used by swaymsg, which has a hardcoded log
level that will prevent it from even being shown, so there is no point
in even keeping it.

Diffstat:
Mcommon/ipc-client.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/common/ipc-client.c b/common/ipc-client.c @@ -74,8 +74,6 @@ bool ipc_set_recv_timeout(int socketfd, struct timeval tv) { sway_log_errno(SWAY_ERROR, "Failed to set ipc recv timeout"); return false; } - sway_log(SWAY_DEBUG, "ipc recv timeout set to %ld.%06ld", - tv.tv_sec, tv.tv_usec); return true; }