diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-03-24 12:03:08 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-03-24 12:03:08 +0100 |
commit | 037fb02493f087ea3780dab3c706432da4ebac30 (patch) | |
tree | fd428a7476eaa41695aaacc2624b022ee4918462 /src | |
parent | 0d59713dd98d2eab632376dd258e99cb257921cc (diff) | |
download | strongswan-037fb02493f087ea3780dab3c706432da4ebac30.tar.bz2 strongswan-037fb02493f087ea3780dab3c706432da4ebac30.tar.xz |
Fixed compiler warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/stroke/stroke.c | 2 |
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))); } } } |