X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_cmd_getthreshold.c;h=e6086f27193226c631f9bb7e4a8358c0dde545e2;hb=4928cae51108c75e46cc7a1b158d6c86726db87b;hp=7e4a9db19f4961392ed5bfb19f0680860c10e0b3;hpb=362a519e00d50fc3657d485135075f753ec71bab;p=collectd.git diff --git a/src/utils_cmd_getthreshold.c b/src/utils_cmd_getthreshold.c index 7e4a9db1..e6086f27 100644 --- a/src/utils_cmd_getthreshold.c +++ b/src/utils_cmd_getthreshold.c @@ -25,6 +25,7 @@ **/ #include "collectd.h" + #include "common.h" #include "plugin.h" @@ -100,7 +101,8 @@ int handle_getthreshold (FILE *fh, char *buffer) 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);