projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.7'
[collectd.git]
/
src
/
utils_cmd_getthreshold.c
diff --git
a/src/utils_cmd_getthreshold.c
b/src/utils_cmd_getthreshold.c
index
ac2578d
..
491d776
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);
@@
-197,5
+198,3
@@
int handle_getthreshold(FILE *fh, char *buffer) {
return (0);
} /* int handle_getthreshold */
return (0);
} /* int handle_getthreshold */
-
-/* vim: set sw=2 sts=2 ts=8 et : */