aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stroke/stroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index c195c09a9..1cb8cc271 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -96,7 +96,7 @@ static int send_stroke_msg (stroke_msg_t *msg)
{
if (fgets(buffer, sizeof(buffer), stdin))
{
- if (write(sock, buffer, strlen(buffer)));
+ ignore_result(write(sock, buffer, strlen(buffer)));
}
}
}