diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-30 04:38:36 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-30 04:38:36 +0000 |
commit | da2d7e0c4190fc4328a97cad503866a262d793c7 (patch) | |
tree | 8088c29ea971c6e8c4c0403a94fdd8d3c0983df0 /src | |
parent | a331939d654624c0f5e82f0d8be53f69bdaa1a59 (diff) | |
download | mpd-da2d7e0c4190fc4328a97cad503866a262d793c7.tar.gz mpd-da2d7e0c4190fc4328a97cad503866a262d793c7.tar.xz mpd-da2d7e0c4190fc4328a97cad503866a262d793c7.zip |
myfprintf: parse paths so we can reopen log files correctly
git-svn-id: https://svn.musicpd.org/mpd/trunk@4485 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r-- | src/myfprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/myfprintf.c b/src/myfprintf.c index 500414d0b..e5ed875af 100644 --- a/src/myfprintf.c +++ b/src/myfprintf.c @@ -79,8 +79,8 @@ void myfprintfStdLogMode(FILE * out, FILE * err) myfprintf_stdLogMode = 1; myfprintf_out = out; myfprintf_err = err; - myfprintf_outFilename = getConfigParamValue(CONF_LOG_FILE); - myfprintf_errFilename = getConfigParamValue(CONF_ERROR_FILE); + myfprintf_outFilename = parseConfigFilePath(CONF_LOG_FILE, 1)->value; + myfprintf_errFilename = parseConfigFilePath(CONF_ERROR_FILE, 1)->value; } int myfprintfCloseAndOpenLogFile(void) |