Merge pull request #2089 from maryamtahhan/upstream_intelRdt
[collectd.git] / src / utils_cmd_getthreshold.c
index ac2578d..491d776 100644 (file)
@@ -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 : */