From: Florian Forster Date: Sun, 14 Jan 2007 20:12:15 +0000 (+0100) Subject: network plugin: Don't case an int to a void*, because some systems don't like it.. X-Git-Tag: collectd-4.0.0~233 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4c66592ee43abb01bfc792dac9bcc0df9d3df567;p=collectd.git network plugin: Don't case an int to a void*, because some systems don't like it.. --- diff --git a/src/network.c b/src/network.c index 5d588804..5738d154 100644 --- a/src/network.c +++ b/src/network.c @@ -865,7 +865,7 @@ int network_receive (void) static void *receive_thread (void *arg) { - return ((void *) network_receive ()); + return (network_receive () ? (void *) 1 : (void *) 0); } /* void *receive_thread */ #if 0