Access log compile fixes
This commit is contained in:
parent
66ecd88130
commit
efc80123f0
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ void Controller::statSession::ping(const Controller::sessIndex & index, unsigned
|
|||
static std::string accLogFileName;
|
||||
if (accLogFileName != Controller::accesslog || !accLogFile.good()){
|
||||
accLogFile.close();
|
||||
accLogFile.open(Controller::accesslog, std::ios_base::app);
|
||||
accLogFile.open(Controller::accesslog.c_str(), std::ios_base::app);
|
||||
if (!accLogFile.good()){
|
||||
FAIL_MSG("Could not open access log file '%s': %s", Controller::accesslog.c_str(), strerror(errno));
|
||||
}else{
|
||||
|
|
Loading…
Add table
Reference in a new issue