projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd909f8
)
network plugin: Don't case an int to a void*, because some systems don't like it..
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 14 Jan 2007 20:12:15 +0000
(21:12 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 14 Jan 2007 20:12:15 +0000
(21:12 +0100)
src/network.c
patch
|
blob
|
history
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