diff options
author | Max Kellermann <max@duempel.org> | 2009-07-16 07:37:13 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-16 07:37:13 +0200 |
commit | 4100035b19a5d0dedcf8f71a272fa67f6a24361a (patch) | |
tree | c4a0f11b0cf5d219fd70e55316ed0b95f348480c /src/log.c | |
parent | 9bef46c0daa4fa2778db0e05d5883746cc995264 (diff) | |
parent | d7bad6ae020ffabfd5d2ae9d2ce723e67e999077 (diff) | |
download | mpd-4100035b19a5d0dedcf8f71a272fa67f6a24361a.tar.gz mpd-4100035b19a5d0dedcf8f71a272fa67f6a24361a.tar.xz mpd-4100035b19a5d0dedcf8f71a272fa67f6a24361a.zip |
Merged release 0.15.1 from branch 'v0.15.x'
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -259,12 +259,8 @@ void log_init(bool verbose, bool use_stdout) log_init_syslog(); #endif } else { - char *path = parsePath(param->value); - g_free(param->value); - - if (path == NULL) - g_error("error parsing \"%s\" at line %i\n", - CONF_LOG_FILE, param->line); + const char *path = config_get_path(CONF_LOG_FILE); + assert(path != NULL); log_init_file(path, param->line); } |