aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/printf_hook.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-03-19 08:54:39 +0000
committerMartin Willi <martin@strongswan.org>2009-03-19 08:54:39 +0000
commitc5c969639c0562c7fb1cf56409636441f2d543b3 (patch)
treeeac7b60f0aa3a7f47ee2619873e086d76b4ee272 /src/libstrongswan/printf_hook.c
parentd7625f09909fcc74edf957fbd862b3f2c3d51ede (diff)
downloadstrongswan-c5c969639c0562c7fb1cf56409636441f2d543b3.tar.bz2
strongswan-c5c969639c0562c7fb1cf56409636441f2d543b3.tar.xz
fixed compiler warning
Diffstat (limited to 'src/libstrongswan/printf_hook.c')
-rw-r--r--src/libstrongswan/printf_hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/printf_hook.c b/src/libstrongswan/printf_hook.c
index 0475c3ec9..f46718953 100644
--- a/src/libstrongswan/printf_hook.c
+++ b/src/libstrongswan/printf_hook.c
@@ -99,7 +99,7 @@ static int custom_print(FILE *stream, const struct printf_info *info,
written = handler->hook(buf, sizeof(buf), &spec, args);
if (written > 0)
{
- fwrite(buf, 1, written, stream);
+ ignore_result(fwrite(buf, 1, written, stream));
}
return written;
}