Commit 0e271bc0 authored by jan.koester's avatar jan.koester
Browse files

bugfix

parent fa35e378
Loading
Loading
Loading
Loading
+1 −1
Changes for plugins/contact/contact.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ namespace blogi {
            curres.setVersion(HTTPVERSION(1.1));
            curres.setContentType("text/html");
            curres.setState(HTTP200);
            curres.send(req, out.c_str(),out.size());
            curres.send(req, out.c_str(),out.length());
            return true;

        };
+6 −6
Changes for plugins/content/content.cpp: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ namespace blogi {
                resp.setVersion(HTTPVERSION(1.1));
                resp.setState(HTTP200);
                resp.setContentType("text/html");
                resp.send(curreq,out.c_str(),out.size());
                resp.send(curreq,out.c_str(),out.length());

                return;
            }
@@ -172,7 +172,7 @@ namespace blogi {
            resp.setVersion(HTTPVERSION(1.1));
            resp.setState(HTTP200);
            resp.setContentType("text/html");
            resp.send(curreq,out.c_str(),out.size());
            resp.send(curreq,out.c_str(),out.length());
        };

        void contentPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) {
@@ -226,7 +226,7 @@ namespace blogi {
            resp.setVersion(HTTPVERSION(1.1));
            resp.setState(HTTP200);
            resp.setContentType("text/html");
            resp.send(curreq,out.c_str(),out.size());
            resp.send(curreq,out.c_str(),out.length());
        };

        void addPostPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid){
@@ -403,7 +403,7 @@ namespace blogi {
            resp.setVersion(HTTPVERSION(1.1));
            resp.setState(HTTP200);
            resp.setContentType("text/html");
            resp.send(curreq,out.c_str(),out.size());
            resp.send(curreq,out.c_str(),out.length());
        }

        void delPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) {
@@ -455,7 +455,7 @@ namespace blogi {
            resp.setVersion(HTTPVERSION(1.1));
            resp.setState(HTTP200);
            resp.setContentType("text/html");
            resp.send(curreq,out.data(),out.size());
            resp.send(curreq,out.data(),out.length());

        }

@@ -657,7 +657,7 @@ namespace blogi {
            resp.setVersion(HTTPVERSION(1.1));
            resp.setState(HTTP200);
            resp.setContentType("text/html");
            resp.send(curreq,out.c_str(),out.size());
            resp.send(curreq,out.c_str(),out.length());
        }

        const std::string getName(){
+1 −1
Changes for plugins/gameinfo/gameinfo.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ namespace blogi {
            resp.setVersion(HTTPVERSION(1.1));
            resp.setState(HTTP200);
            resp.setContentType("text/html");
            resp.send(req,out.c_str(),out.size());
            resp.send(req,out.c_str(),out.length());
            return true;

        }
+2 −2
Changes for plugins/nginxfiler/filer.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ namespace blogi {
                curres.setVersion(HTTPVERSION(1.1));
                curres.setContentType("text/html");
                curres.setState(HTTP200);
                curres.send(req, out.c_str(),out.size());
                curres.send(req, out.c_str(),out.length());
            }catch(libhttppp::HTTPException &e){
                libhttppp::HttpResponse curres;
                libhtmlpp::HtmlString error,out;
@@ -242,7 +242,7 @@ namespace blogi {

                Args->theme->printSite(tid, out, page, req.getRequestURL(), Args->auth->isLoggedIn(tid, req, sessionid));

                curres.send(req, out.c_str(),out.size());
                curres.send(req, out.c_str(),out.length());
            }
            return true;
        }
+1 −1
Changes for plugins/nodeinfo/nodeinfo.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@ namespace blogi {
            resp.setVersion(HTTPVERSION(1.1));
            resp.setState(HTTP200);
            resp.setContentType("text/html");
            resp.send(req,out.data(),out.size());
            resp.send(req,out.data(),out.length());
            return true;

        }
Loading