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 @@ -2966,12 +2966,12 @@ public: try{ blogi::Blogi blg(getServerSockets(),debug); #ifndef Windows #ifndef Windows/* if(!debug) { if(getuid()==0) { struct passwd pwd_storage; char buffer[1024]; struct passwd *result = NULL; struct passwd *result = nullptr; const char *username = "blogi"; if(getpwnam_r(username, &pwd_storage, buffer, sizeof(buffer), &result)!=0 || result==NULL){ Loading @@ -2983,7 +2983,7 @@ public: seteuid(pwd_storage.pw_uid); setegid(pwd_storage.pw_gid); } } }*/ #endif blg.runEventloop(); }catch(libhttppp::HTTPException &e){ 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 @@ -2966,12 +2966,12 @@ public: try{ blogi::Blogi blg(getServerSockets(),debug); #ifndef Windows #ifndef Windows/* if(!debug) { if(getuid()==0) { struct passwd pwd_storage; char buffer[1024]; struct passwd *result = NULL; struct passwd *result = nullptr; const char *username = "blogi"; if(getpwnam_r(username, &pwd_storage, buffer, sizeof(buffer), &result)!=0 || result==NULL){ Loading @@ -2983,7 +2983,7 @@ public: seteuid(pwd_storage.pw_uid); setegid(pwd_storage.pw_gid); } } }*/ #endif blg.runEventloop(); }catch(libhttppp::HTTPException &e){ Loading