From efc80123f02ff479d2680394f8907acb929c3649 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 18 Apr 2017 18:53:57 +0200 Subject: [PATCH] Access log compile fixes --- src/controller/controller_statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/controller_statistics.cpp b/src/controller/controller_statistics.cpp index e464335d..ef499bff 100644 --- a/src/controller/controller_statistics.cpp +++ b/src/controller/controller_statistics.cpp @@ -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{