nghttpx: Fix compile error with --disable-threads

This commit is contained in:
Tatsuhiro Tsujikawa 2016-10-23 19:17:17 +09:00
parent 177d51ddab
commit c42715ed6a
1 changed files with 1 additions and 0 deletions

View File

@ -392,6 +392,7 @@ std::random_device rd;
int worker_process_event_loop(WorkerProcessConfig *wpconf) {
std::array<char, STRERROR_BUFSIZE> errbuf;
(void)errbuf;
if (reopen_log_files() != 0) {
LOG(FATAL) << "Failed to open log file";