projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parse_identifier: Make hostname optional, if a default has been specified.
[collectd.git]
/
src
/
utils_cmd_putval.c
diff --git
a/src/utils_cmd_putval.c
b/src/utils_cmd_putval.c
index
af6b484
..
0a0af8a
100644
(file)
--- a/
src/utils_cmd_putval.c
+++ b/
src/utils_cmd_putval.c
@@
-102,7
+102,8
@@
cmd_status_t cmd_parse_putval (size_t argc, char **argv,
status = parse_identifier (identifier, &hostname,
&plugin, &plugin_instance,
- &type, &type_instance);
+ &type, &type_instance,
+ NULL);
if (status != 0)
{
DEBUG ("cmd_handle_putval: Cannot parse identifier `%s'.",