Rename log-filename to log-file in config file

This commit is contained in:
Martin Lund 2022-06-14 01:07:54 +02:00
parent 9ab846a30a
commit 1b99a103cb

View file

@ -171,7 +171,7 @@ static int data_handler(void *user, const char *section, const char *name,
{
option.timestamp = timestamp_option_parse(value);
}
else if (!strcmp(name, "log-filename"))
else if (!strcmp(name, "log-file"))
{
asprintf(&c->log_filename, "%s", value);
option.log_filename = c->log_filename;