X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_cmd_getthreshold.c;h=60363da5fa09c1814d6973b38b5d1f12cd1b34a3;hb=98e38add333bfcb893fcde408ecf3a0c43d99e31;hp=ac2578da087d77dd5340a7e928962d586eefff4d;hpb=79963d13c1884d1d92667cc502ad20758b084a12;p=collectd.git diff --git a/src/utils_cmd_getthreshold.c b/src/utils_cmd_getthreshold.c index ac2578da..60363da5 100644 --- 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, - &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);