projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
all plugins: remove pthread.h include
[collectd.git]
/
src
/
write_graphite.c
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
0fa8bc3
..
5acda6e
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-51,9
+51,6
@@
#include "utils_complain.h"
#include "utils_format_graphite.h"
#include "utils_complain.h"
#include "utils_format_graphite.h"
-/* Folks without pthread will need to disable this plugin. */
-#include <pthread.h>
-
#include <netdb.h>
#define WG_DEFAULT_NODE "localhost"
#include <netdb.h>
#define WG_DEFAULT_NODE "localhost"
@@
-180,7
+177,7
@@
static int wg_flush_nolock (cdtime_t timeout, struct wg_callback *cb)
return (0);
}
return (0);
}
- if (cb->send_buf_fill
<
= 0)
+ if (cb->send_buf_fill
=
= 0)
{
cb->send_buf_init_time = cdtime ();
return (0);
{
cb->send_buf_init_time = cdtime ();
return (0);