projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
network plugin: Don't case an int to a void*, because some systems don't like it..
[collectd.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
5d58880
..
5738d15
100644
(file)
--- 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