projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to fix collectd/collectd#229 by doing user / group lookups before we fork.
[collectd.git]
/
src
/
ping.c
diff --git
a/src/ping.c
b/src/ping.c
index
ab1459e
..
8bbb807
100644
(file)
--- a/
src/ping.c
+++ b/
src/ping.c
@@
-379,7
+379,7
@@
static int start_thread (void) /* {{{ */
ping_thread_loop = 1;
ping_thread_error = 0;
ping_thread_loop = 1;
ping_thread_error = 0;
- status = pthread_create (&ping_thread_id, /* attr = */ NULL,
+ status = p
lugin_
thread_create (&ping_thread_id, /* attr = */ NULL,
ping_thread, /* arg = */ (void *) 0);
if (status != 0)
{
ping_thread, /* arg = */ (void *) 0);
if (status != 0)
{