Loading src/admin.cpp +18 −18 Changes for src/admin.cpp: 18 added lines, 18 removed lines. Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ namespace authdb { content->appendChild(userlist.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -327,7 +327,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); rep.setContentType("text/html"); rep.setContentLength(out.size()); Loading Loading @@ -565,7 +565,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -631,7 +631,7 @@ namespace authdb { } dest << "</select></form>"; return (libhtmlpp::HtmlElement*)dest.parse(); return (libhtmlpp::HtmlElement*)&dest.parse(); } void listDomains(libhttppp::HttpRequest &curreq, const int tid, ULONG_PTR args){ Loading Loading @@ -685,7 +685,7 @@ namespace authdb { content->appendChild(list.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -817,7 +817,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -921,7 +921,7 @@ namespace authdb { content->appendChild(grouplist.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1040,7 +1040,7 @@ namespace authdb { content->appendChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1308,7 +1308,7 @@ namespace authdb { content->insertChild(form->parse()); libhtmlpp::print(root.get(),*out,true); libhtmlpp::print(*root,*out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1369,7 +1369,7 @@ namespace authdb { content->appendChild(&slist); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1572,7 +1572,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1697,7 +1697,7 @@ namespace authdb { << "</table>" << "</form>"; formel=(libhtmlpp::HtmlElement*)form.parse(); formel=(libhtmlpp::HtmlElement*)&form.parse(); ngroupel=formel->getElementbyID("notingroup"); groupel=formel->getElementbyID("gpoingroup"); Loading Loading @@ -1752,7 +1752,7 @@ namespace authdb { if(formel) content->insertChild(formel); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1859,7 +1859,7 @@ namespace authdb { content->appendChild(list.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -2093,7 +2093,7 @@ namespace authdb { content->appendChild(hform); } libhtmlpp::print((libhtmlpp::Element*)&index,sendat,false); libhtmlpp::print(*static_cast<libhtmlpp::Element*>(&index),sendat,false); libhttppp::HttpResponse rep; rep.setState(HTTP200); Loading Loading @@ -2201,7 +2201,7 @@ namespace authdb { std::shared_ptr<libhtmlpp::HtmlString> sendat=std::make_shared<libhtmlpp::HtmlString>(); libhtmlpp::print((libhtmlpp::Element*)&index,*sendat,false); libhtmlpp::print(*static_cast<libhtmlpp::Element*>(&index),*sendat,false); libhttppp::HttpResponse rep; rep.setState(HTTP200); Loading Loading @@ -2331,7 +2331,7 @@ namespace authdb { content->appendChild(cleform.parse()); } libhtmlpp::print(&index,out,false); libhtmlpp::print(index,out,false); libhttppp::HttpResponse rep; rep.setState(HTTP200); Loading Loading @@ -2425,7 +2425,7 @@ namespace authdb { loginel->appendChild(errmsg.parse()); } libhtmlpp::print(&index,*out,true); libhtmlpp::print(index,*out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); rep.send(curreq,out->data(),out->size()); Loading src/authdb.cpp +1 −1 Changes for src/authdb.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ namespace authdb { libhtmlpp::HtmlString sendat; libhtmlpp::print((libhtmlpp::Element*)&index,sendat,false); libhtmlpp::print(*static_cast<libhtmlpp::Element*>(&index),sendat,false); rep.setState(HTTP200); rep.setVersion(HTTPVERSION(1.1)); Loading Loading
src/admin.cpp +18 −18 Changes for src/admin.cpp: 18 added lines, 18 removed lines. Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ namespace authdb { content->appendChild(userlist.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -327,7 +327,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); rep.setContentType("text/html"); rep.setContentLength(out.size()); Loading Loading @@ -565,7 +565,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -631,7 +631,7 @@ namespace authdb { } dest << "</select></form>"; return (libhtmlpp::HtmlElement*)dest.parse(); return (libhtmlpp::HtmlElement*)&dest.parse(); } void listDomains(libhttppp::HttpRequest &curreq, const int tid, ULONG_PTR args){ Loading Loading @@ -685,7 +685,7 @@ namespace authdb { content->appendChild(list.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -817,7 +817,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -921,7 +921,7 @@ namespace authdb { content->appendChild(grouplist.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1040,7 +1040,7 @@ namespace authdb { content->appendChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1308,7 +1308,7 @@ namespace authdb { content->insertChild(form->parse()); libhtmlpp::print(root.get(),*out,true); libhtmlpp::print(*root,*out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1369,7 +1369,7 @@ namespace authdb { content->appendChild(&slist); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1572,7 +1572,7 @@ namespace authdb { content->insertChild(form.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1697,7 +1697,7 @@ namespace authdb { << "</table>" << "</form>"; formel=(libhtmlpp::HtmlElement*)form.parse(); formel=(libhtmlpp::HtmlElement*)&form.parse(); ngroupel=formel->getElementbyID("notingroup"); groupel=formel->getElementbyID("gpoingroup"); Loading Loading @@ -1752,7 +1752,7 @@ namespace authdb { if(formel) content->insertChild(formel); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -1859,7 +1859,7 @@ namespace authdb { content->appendChild(list.parse()); libhtmlpp::print(&root,out,true); libhtmlpp::print(root,out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); Loading Loading @@ -2093,7 +2093,7 @@ namespace authdb { content->appendChild(hform); } libhtmlpp::print((libhtmlpp::Element*)&index,sendat,false); libhtmlpp::print(*static_cast<libhtmlpp::Element*>(&index),sendat,false); libhttppp::HttpResponse rep; rep.setState(HTTP200); Loading Loading @@ -2201,7 +2201,7 @@ namespace authdb { std::shared_ptr<libhtmlpp::HtmlString> sendat=std::make_shared<libhtmlpp::HtmlString>(); libhtmlpp::print((libhtmlpp::Element*)&index,*sendat,false); libhtmlpp::print(*static_cast<libhtmlpp::Element*>(&index),*sendat,false); libhttppp::HttpResponse rep; rep.setState(HTTP200); Loading Loading @@ -2331,7 +2331,7 @@ namespace authdb { content->appendChild(cleform.parse()); } libhtmlpp::print(&index,out,false); libhtmlpp::print(index,out,false); libhttppp::HttpResponse rep; rep.setState(HTTP200); Loading Loading @@ -2425,7 +2425,7 @@ namespace authdb { loginel->appendChild(errmsg.parse()); } libhtmlpp::print(&index,*out,true); libhtmlpp::print(index,*out,true); libhttppp::HttpResponse rep; rep.setContentType("text/html"); rep.send(curreq,out->data(),out->size()); Loading
src/authdb.cpp +1 −1 Changes for src/authdb.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ namespace authdb { libhtmlpp::HtmlString sendat; libhtmlpp::print((libhtmlpp::Element*)&index,sendat,false); libhtmlpp::print(*static_cast<libhtmlpp::Element*>(&index),sendat,false); rep.setState(HTTP200); rep.setVersion(HTTPVERSION(1.1)); Loading