Loading src/blogi.cpp +3 −3 Changes for src/blogi.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -2963,7 +2963,7 @@ public: libhttppp::HTTPException httpexception; try { blogi::Blogi blg(getServerSockets(),debug); #ifndef Windows #ifndef _WIN32 if(!debug) { if(getuid()==0) { struct passwd pwd_storage; Loading @@ -2989,7 +2989,7 @@ public: }; }; #ifndef Windows #ifndef _WIN32 void logFiles(const char *path, int fd) { int pfd = open(path, O_APPEND | O_CREAT | O_WRONLY, 0660); Loading Loading @@ -3125,7 +3125,7 @@ int main(int argc, char* argv[]) { logFiles("/var/log/blogi/access.log",STDOUT_FILENO); logFiles("/var/log/blogi/error.log",STDERR_FILENO); // ensureConfigGroupWritable(config); ensureConfigGroupWritable(config); }catch(std::exception &e){ std::cerr << e.what() << std::endl; Loading Loading
src/blogi.cpp +3 −3 Changes for src/blogi.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -2963,7 +2963,7 @@ public: libhttppp::HTTPException httpexception; try { blogi::Blogi blg(getServerSockets(),debug); #ifndef Windows #ifndef _WIN32 if(!debug) { if(getuid()==0) { struct passwd pwd_storage; Loading @@ -2989,7 +2989,7 @@ public: }; }; #ifndef Windows #ifndef _WIN32 void logFiles(const char *path, int fd) { int pfd = open(path, O_APPEND | O_CREAT | O_WRONLY, 0660); Loading Loading @@ -3125,7 +3125,7 @@ int main(int argc, char* argv[]) { logFiles("/var/log/blogi/access.log",STDOUT_FILENO); logFiles("/var/log/blogi/error.log",STDERR_FILENO); // ensureConfigGroupWritable(config); ensureConfigGroupWritable(config); }catch(std::exception &e){ std::cerr << e.what() << std::endl; Loading