Loading src/blogi.cpp +4 −4 Changes for src/blogi.cpp: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -3001,10 +3001,10 @@ void logFiles(const char *path,int fd){ struct passwd *result = nullptr; const char *username = "blogi"; if(getpwnam_r(username, &pwd_storage, buffer, sizeof(buffer), &result)!=0 || result==NULL){ libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << "can'T change user !"; throw exp; if(getpwnam_r(username, &pwd_storage, buffer, sizeof(buffer), &result)!=0 || result==nullptr){ /*libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << "can't change user !"; throw exp;*/ } if(result=nullptr) Loading Loading
src/blogi.cpp +4 −4 Changes for src/blogi.cpp: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -3001,10 +3001,10 @@ void logFiles(const char *path,int fd){ struct passwd *result = nullptr; const char *username = "blogi"; if(getpwnam_r(username, &pwd_storage, buffer, sizeof(buffer), &result)!=0 || result==NULL){ libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << "can'T change user !"; throw exp; if(getpwnam_r(username, &pwd_storage, buffer, sizeof(buffer), &result)!=0 || result==nullptr){ /*libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << "can't change user !"; throw exp;*/ } if(result=nullptr) Loading