Loading examples/httpsysinfo.cpp +1 −1 Changes for examples/httpsysinfo.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -183,7 +183,7 @@ public: libhtmlpp::HtmlString html; html << "<div><span>KernelInfo:</span> <br/> </div> "; /*convert Htmlstring to Html Dom element*/ libhtmlpp::HtmlElement* div = (libhtmlpp::HtmlElement*)html.parse(); libhtmlpp::HtmlElement* div = (libhtmlpp::HtmlElement*)&html.parse(); /*append table to dom element div*/ div->appendChild(&table); Loading src/httpd.cpp +1 −1 Changes for src/httpd.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -209,7 +209,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { else _ServerSocket = std::make_unique<netplus::tcp>(httpaddr, maxconnections,-1); #else _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections, -1); _ServerSocket = std::make_unique < netplus::tcp>(httpaddr, port, maxconnections, -1); #endif } Loading Loading
examples/httpsysinfo.cpp +1 −1 Changes for examples/httpsysinfo.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -183,7 +183,7 @@ public: libhtmlpp::HtmlString html; html << "<div><span>KernelInfo:</span> <br/> </div> "; /*convert Htmlstring to Html Dom element*/ libhtmlpp::HtmlElement* div = (libhtmlpp::HtmlElement*)html.parse(); libhtmlpp::HtmlElement* div = (libhtmlpp::HtmlElement*)&html.parse(); /*append table to dom element div*/ div->appendChild(&table); Loading
src/httpd.cpp +1 −1 Changes for src/httpd.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -209,7 +209,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { else _ServerSocket = std::make_unique<netplus::tcp>(httpaddr, maxconnections,-1); #else _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections, -1); _ServerSocket = std::make_unique < netplus::tcp>(httpaddr, port, maxconnections, -1); #endif } Loading