Loading plugins/nodeinfo/nodeinfo.cpp +2 −2 Changes for plugins/nodeinfo/nodeinfo.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -72,12 +72,12 @@ namespace blogi { return false; } if(req.getRequestURL().compare(Args->config->buildurl("nodeinfo/sysico.png",url,512))==0){ if(req.getRequestURL().compare(0,strlen(Args->config->buildurl("nodeinfo/sysico.png",url,512)),Args->config->buildurl("nodeinfo/sysico.png",url,512))==0){ libhttppp::HttpResponse resp; resp.setVersion(HTTPVERSION(1.1)); resp.setState(HTTP200); resp.setContentType("image/png"); resp.send(req,(const char*)sysicon,sysicon_size); resp.send(req,std::string(sysicon,sysicon+sysicon_size),sysicon_size); return true; } Loading Loading
plugins/nodeinfo/nodeinfo.cpp +2 −2 Changes for plugins/nodeinfo/nodeinfo.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -72,12 +72,12 @@ namespace blogi { return false; } if(req.getRequestURL().compare(Args->config->buildurl("nodeinfo/sysico.png",url,512))==0){ if(req.getRequestURL().compare(0,strlen(Args->config->buildurl("nodeinfo/sysico.png",url,512)),Args->config->buildurl("nodeinfo/sysico.png",url,512))==0){ libhttppp::HttpResponse resp; resp.setVersion(HTTPVERSION(1.1)); resp.setState(HTTP200); resp.setContentType("image/png"); resp.send(req,(const char*)sysicon,sysicon_size); resp.send(req,std::string(sysicon,sysicon+sysicon_size),sysicon_size); return true; } Loading