X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_cmd_getthreshold.c;h=491d7765ee82d9ce20e3c4d661aa457eeadf1540;hb=c6baff42e7e8e547eb7ca7817c0e0e07ccea95db;hp=ac2578da087d77dd5340a7e928962d586eefff4d;hpb=79963d13c1884d1d92667cc502ad20758b084a12;p=collectd.git diff --git a/src/utils_cmd_getthreshold.c b/src/utils_cmd_getthreshold.c index ac2578da..491d7765 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); @@ -197,5 +198,3 @@ int handle_getthreshold(FILE *fh, char *buffer) { return (0); } /* int handle_getthreshold */ - -/* vim: set sw=2 sts=2 ts=8 et : */