From 037fb02493f087ea3780dab3c706432da4ebac30 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 24 Mar 2010 12:03:08 +0100 Subject: [PATCH] Fixed compiler warning. --- src/stroke/stroke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); } } }