aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-05-27 00:33:52 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2019-05-27 08:02:10 +0300
commit18476b0ec1fa58aa558f4c6b821e7243a64e4924 (patch)
treea28d0b9a8ad923c66947b74c17711f671e866b12 /common
parentinput/switch: fix indentation of file (diff)
downloadsway-18476b0ec1fa58aa558f4c6b821e7243a64e4924.tar.gz
sway-18476b0ec1fa58aa558f4c6b821e7243a64e4924.tar.zst
sway-18476b0ec1fa58aa558f4c6b821e7243a64e4924.zip
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 (limited to 'common')
-rw-r--r--common/ipc-client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/ipc-client.c b/common/ipc-client.c
index b6c03d13..4750a289 100644
--- a/common/ipc-client.c
+++ b/common/ipc-client.c
@@ -74,8 +74,6 @@ bool ipc_set_recv_timeout(int socketfd, struct timeval tv) {
74 sway_log_errno(SWAY_ERROR, "Failed to set ipc recv timeout"); 74 sway_log_errno(SWAY_ERROR, "Failed to set ipc recv timeout");
75 return false; 75 return false;
76 } 76 }
77 sway_log(SWAY_DEBUG, "ipc recv timeout set to %ld.%06ld",
78 tv.tv_sec, tv.tv_usec);
79 return true; 77 return true;
80} 78}
81 79