aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-24 12:03:08 +0100
committerTobias Brunner <tobias@strongswan.org>2010-03-24 12:03:08 +0100
commit037fb02493f087ea3780dab3c706432da4ebac30 (patch)
treefd428a7476eaa41695aaacc2624b022ee4918462 /src
parent0d59713dd98d2eab632376dd258e99cb257921cc (diff)
downloadstrongswan-037fb02493f087ea3780dab3c706432da4ebac30.tar.bz2
strongswan-037fb02493f087ea3780dab3c706432da4ebac30.tar.xz
Fixed compiler warning.
Diffstat (limited to 'src')
-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)));
}
}
}