projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2806 from rorysexton/dev_turbostat_plugin
[collectd.git]
/
src
/
powerdns.c
diff --git
a/src/powerdns.c
b/src/powerdns.c
index
729a15b
..
7a2fbfd
100644
(file)
--- a/
src/powerdns.c
+++ b/
src/powerdns.c
@@
-304,10
+304,10
@@
static statname_lookup_t lookup_table[] = /* {{{ */
{"uptime", "uptime", NULL}}; /* }}} */
static int lookup_table_length = STATIC_ARRAY_SIZE(lookup_table);
{"uptime", "uptime", NULL}}; /* }}} */
static int lookup_table_length = STATIC_ARRAY_SIZE(lookup_table);
-static llist_t *list
= NULL
;
+static llist_t *list;
#define PDNS_LOCAL_SOCKPATH LOCALSTATEDIR "/run/" PACKAGE_NAME "-powerdns"
#define PDNS_LOCAL_SOCKPATH LOCALSTATEDIR "/run/" PACKAGE_NAME "-powerdns"
-static char *local_sockpath
= NULL
;
+static char *local_sockpath;
/* TODO: Do this before 4.4:
* - Update the collectd.conf(5) manpage.
/* TODO: Do this before 4.4:
* - Update the collectd.conf(5) manpage.
@@
-359,9
+359,6
@@
static void submit(const char *plugin_instance, /* {{{ */
}
if (0 != parse_value(value_str, &value, ds->ds[0].type)) {
}
if (0 != parse_value(value_str, &value, ds->ds[0].type)) {
- ERROR("powerdns plugin: Cannot convert `%s' "
- "to a number.",
- value_str);
return;
}
return;
}