]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
fixed compiler warning
authorMartin Willi <martin@strongswan.org>
Thu, 19 Mar 2009 08:54:39 +0000 (08:54 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 19 Mar 2009 08:54:39 +0000 (08:54 -0000)
src/libstrongswan/printf_hook.c

index 0475c3ec9e10701bc24595f9df79ffa5f425e9e7..f46718953296b3d9f08d2ba6c906b5d8a7641e61 100644 (file)
@@ -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;
 }