Fixed compiler warning.
authorTobias Brunner <tobias@strongswan.org>
Wed, 24 Mar 2010 11:03:08 +0000 (12:03 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 24 Mar 2010 11:03:08 +0000 (12:03 +0100)
src/stroke/stroke.c

index c195c09..1cb8cc2 100644 (file)
@@ -96,7 +96,7 @@ static int send_stroke_msg (stroke_msg_t *msg)
                {
                        if (fgets(buffer, sizeof(buffer), stdin))
                        {
-                               i(write(sock, buffer, strlen(buffer)));
+                               ignore_result(write(sock, buffer, strlen(buffer)));
                        }
                }
        }