X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_parse_option.c;h=8086d63fc0ee669419c943690c36474ccff926b6;hb=d89088ea0673ef8bb38f292169378f7688db44a2;hp=2168cd1af3d624801146905b853adb0c92db3d7b;hpb=37905c5a2370c8e6edae5011978773eeaa589d09;p=collectd.git diff --git a/src/utils_parse_option.c b/src/utils_parse_option.c index 2168cd1a..8086d63f 100644 --- a/src/utils_parse_option.c +++ b/src/utils_parse_option.c @@ -127,7 +127,7 @@ int parse_option (char **ret_buffer, char **ret_key, char **ret_value) /* Look for the equal sign */ buffer = key; - while (isalnum ((int) *buffer)) + while (isalnum ((int) *buffer) || *buffer == '_' || *buffer == ':') buffer++; if ((*buffer != '=') || (buffer == key)) return (1);