Loading src/blogi.cpp +5 −2 Changes for src/blogi.cpp: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2993,8 +2993,11 @@ public: void logFiles(const char *path,int fd){ int pfd=open(path,O_APPEND|O_CREAT|O_WRONLY,0x760); if(pfd<0) return; if(pfd<0){ libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << "can't open or create logfile !"; throw exp; } struct passwd pwd_storage; char buffer[1024]; Loading Loading
src/blogi.cpp +5 −2 Changes for src/blogi.cpp: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2993,8 +2993,11 @@ public: void logFiles(const char *path,int fd){ int pfd=open(path,O_APPEND|O_CREAT|O_WRONLY,0x760); if(pfd<0) return; if(pfd<0){ libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << "can't open or create logfile !"; throw exp; } struct passwd pwd_storage; char buffer[1024]; Loading