Code

src/daemon/utils_match.c: Improve readability of reset logic.
[collectd.git] / src / utils_cmd_getthreshold.c
index b2a0a23bfd892e7b77b6e24c4c1ad3934d69a6bc..e6086f27193226c631f9bb7e4a8358c0dde545e2 100644 (file)
@@ -101,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);