Commit e3fb9c45 authored by jan.koester's avatar jan.koester
Browse files

small fixes

parent e28f6456
Loading
Loading
Loading
Loading
+1 −1
Changes for examples/httpsysinfo.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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);
+1 −1
Changes for src/httpd.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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 
        }