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 #2064 from rubenk/fix-make-distcheck
[collectd.git]
/
src
/
utils_cmd_getthreshold.c
diff --git
a/src/utils_cmd_getthreshold.c
b/src/utils_cmd_getthreshold.c
index
ac2578d
..
60363da
100644
(file)
--- a/
src/utils_cmd_getthreshold.c
+++ b/
src/utils_cmd_getthreshold.c
@@
-95,7
+95,8
@@
int handle_getthreshold(FILE *fh, char *buffer) {
identifier_copy = sstrdup(identifier);
status = parse_identifier(identifier_copy, &host, &plugin, &plugin_instance,
identifier_copy = sstrdup(identifier);
status = parse_identifier(identifier_copy, &host, &plugin, &plugin_instance,
- &type, &type_instance);
+ &type, &type_instance,
+ /* default_host = */ NULL);
if (status != 0) {
DEBUG("handle_getthreshold: Cannot parse identifier `%s'.", identifier);
print_to_socket(fh, "-1 Cannot parse identifier `%s'.\n", identifier);
if (status != 0) {
DEBUG("handle_getthreshold: Cannot parse identifier `%s'.", identifier);
print_to_socket(fh, "-1 Cannot parse identifier `%s'.\n", identifier);