Loading main.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,8 @@ public: HttpConD(int argc, char** argv,libhtmlpp::HtmlElement *tpl) : HttpD(argc,argv){ libhttppp::HTTPException httpexception; try { Controller(getServerSocket(),tpl); Controller ctl(getServerSocket(),tpl); ctl.runEventloop(); }catch(libhttppp::HTTPException &e){ std::cerr << e.what() << std::endl; } Loading Loading
main.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,8 @@ public: HttpConD(int argc, char** argv,libhtmlpp::HtmlElement *tpl) : HttpD(argc,argv){ libhttppp::HTTPException httpexception; try { Controller(getServerSocket(),tpl); Controller ctl(getServerSocket(),tpl); ctl.runEventloop(); }catch(libhttppp::HTTPException &e){ std::cerr << e.what() << std::endl; } Loading