projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
curl plugin: correct error message
[collectd.git]
/
src
/
gmond.c
diff --git
a/src/gmond.c
b/src/gmond.c
index
67e0406
..
70436d7
100644
(file)
--- a/
src/gmond.c
+++ b/
src/gmond.c
@@
-30,9
+30,6
@@
#include "configfile.h"
#include "utils_avltree.h"
#include "configfile.h"
#include "utils_avltree.h"
-#if HAVE_PTHREAD_H
-# include <pthread.h>
-#endif
#if HAVE_NETDB_H
# include <netdb.h>
#endif
#if HAVE_NETDB_H
# include <netdb.h>
#endif
@@
-717,7
+714,7
@@
static int mc_handle_metadata_msg (Ganglia_metadata_msg *msg) /* {{{ */
msg_meta = msg->Ganglia_metadata_msg_u.gfull;
msg_meta = msg->Ganglia_metadata_msg_u.gfull;
- if (msg_meta.metric.tmax
<
= 0)
+ if (msg_meta.metric.tmax
=
= 0)
return (-1);
map = metric_lookup (msg_meta.metric_id.name);
return (-1);
map = metric_lookup (msg_meta.metric_id.name);