X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_parse_option.c;h=56e65ea54f127e456c660b5774e7e229fdd42726;hb=820f3b25c7ead76617cc843cfe2e2c364b226f82;hp=0ee4c79160758ee629d2b2717b849c8a10c56cb7;hpb=633c3966f770e4d46651a2fe219a18d8a9907a9f;p=collectd.git diff --git a/src/utils_parse_option.c b/src/utils_parse_option.c index 0ee4c791..56e65ea5 100644 --- a/src/utils_parse_option.c +++ b/src/utils_parse_option.c @@ -132,7 +132,7 @@ int parse_option (char **ret_buffer, char **ret_key, char **ret_value) /* Look for the equal sign */ buffer = key; - while (isalnum ((int) *buffer) || *buffer == '_') + while (isalnum ((int) *buffer) || *buffer == '_' || *buffer == ':') buffer++; if ((*buffer != '=') || (buffer == key)) return (1);