Loading plugins/content/content.cpp +6 −6 Changes for plugins/content/content.cpp: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ namespace blogi { ~Content(){ }; void contentIdxPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement *page,const char *tag,int start,int end,const char *sessionid){ void contentIdxPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement *page,const char *tag,int start,int end,const std::string &sessionid){ libhttppp::HTTPException excep; libhtmlpp::HtmlString condat; Loading Loading @@ -167,7 +167,7 @@ namespace blogi { resp.send(curreq,out.c_str(),out.size()); }; void contentPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const char *sessionid) { void contentPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) { libhttppp::HTTPException excep; libhtmlpp::HtmlString condat; Loading Loading @@ -221,7 +221,7 @@ namespace blogi { resp.send(curreq,out.c_str(),out.size()); }; void addPostPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement &page,const char *sessionid){ void addPostPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid){ char url[512]; std::vector<char> sbuf; Loading Loading @@ -369,7 +369,7 @@ namespace blogi { resp.send(curreq,out.c_str(),out.size()); } void delPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const char *sessionid) { void delPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) { std::string sid; char url[512]; Loading Loading @@ -460,7 +460,7 @@ namespace blogi { } } void editPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const char* sessionid) { void editPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) { char url[512]; if (!Args->auth->isLoggedIn(tid,curreq,sessionid)) { Loading Loading @@ -665,7 +665,7 @@ namespace blogi { return; } bool Controller(const int tid,libhttppp::HttpRequest &req,libhtmlpp::HtmlElement *page,const char *sessionid){ bool Controller(const int tid,libhttppp::HttpRequest &req,libhtmlpp::HtmlElement *page,const std::string &sessionid){ char url[512]; if(req.getRequestURL().compare(0,strlen(Args->config->buildurl("content",url,512)),Args->config->buildurl("content",url,512))!=0){ Loading Loading
plugins/content/content.cpp +6 −6 Changes for plugins/content/content.cpp: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ namespace blogi { ~Content(){ }; void contentIdxPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement *page,const char *tag,int start,int end,const char *sessionid){ void contentIdxPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement *page,const char *tag,int start,int end,const std::string &sessionid){ libhttppp::HTTPException excep; libhtmlpp::HtmlString condat; Loading Loading @@ -167,7 +167,7 @@ namespace blogi { resp.send(curreq,out.c_str(),out.size()); }; void contentPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const char *sessionid) { void contentPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) { libhttppp::HTTPException excep; libhtmlpp::HtmlString condat; Loading Loading @@ -221,7 +221,7 @@ namespace blogi { resp.send(curreq,out.c_str(),out.size()); }; void addPostPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement &page,const char *sessionid){ void addPostPage(const int tid,libhttppp::HttpRequest &curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid){ char url[512]; std::vector<char> sbuf; Loading Loading @@ -369,7 +369,7 @@ namespace blogi { resp.send(curreq,out.c_str(),out.size()); } void delPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const char *sessionid) { void delPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) { std::string sid; char url[512]; Loading Loading @@ -460,7 +460,7 @@ namespace blogi { } } void editPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const char* sessionid) { void editPostPage(const int tid,libhttppp::HttpRequest& curreq,libhtmlpp::HtmlElement &page,const std::string &sessionid) { char url[512]; if (!Args->auth->isLoggedIn(tid,curreq,sessionid)) { Loading Loading @@ -665,7 +665,7 @@ namespace blogi { return; } bool Controller(const int tid,libhttppp::HttpRequest &req,libhtmlpp::HtmlElement *page,const char *sessionid){ bool Controller(const int tid,libhttppp::HttpRequest &req,libhtmlpp::HtmlElement *page,const std::string &sessionid){ char url[512]; if(req.getRequestURL().compare(0,strlen(Args->config->buildurl("content",url,512)),Args->config->buildurl("content",url,512))!=0){ Loading