diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/conf.c b/module/conf.c index 1e0d565..6c83407 100644 --- a/module/conf.c +++ b/module/conf.c @@ -200,8 +200,8 @@ conf_parse_file (const char* filename, int flags, if (!*name || *name == '#') continue; - /* Look for the break between name = value on the same line */ - value = name + strcspn (name, ":="); + /* Look for the break between name: value on the same line */ + value = name + strcspn (name, ":"); if (!*value) { errmsg (error_func, "%s: invalid config line: %s", filename, name); errno = EINVAL; |