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
This commit is contained in:
Eric Wong 2006-07-30 04:38:36 +00:00
parent a331939d65
commit da2d7e0c41

View File

@ -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)