Loading plugins/content/content.cpp +2 −2 Changes for plugins/content/content.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -280,7 +280,7 @@ namespace blogi { int author=atoi(ares[0][0]); time_t t = time(NULL); time_t t = time(nullptr); struct tm time = { 0 }; char ttmp[26]; localtime_r(&t,&time); Loading Loading @@ -341,7 +341,7 @@ namespace blogi { resp.setState(HTTP307); resp.setContentType("text/html"); resp.setHeaderData("Location")->push_back(ccurl); resp.send(curreq,nullptr,0); resp.send(curreq,"",0); return; } Loading Loading
plugins/content/content.cpp +2 −2 Changes for plugins/content/content.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -280,7 +280,7 @@ namespace blogi { int author=atoi(ares[0][0]); time_t t = time(NULL); time_t t = time(nullptr); struct tm time = { 0 }; char ttmp[26]; localtime_r(&t,&time); Loading Loading @@ -341,7 +341,7 @@ namespace blogi { resp.setState(HTTP307); resp.setContentType("text/html"); resp.setHeaderData("Location")->push_back(ccurl); resp.send(curreq,nullptr,0); resp.send(curreq,"",0); return; } Loading