Loading examples/httpform.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ public: curres.setState(HTTP500); curres.setContentLength(0); std::vector<char> errdat; std::copy(e.what().begin(), e.what().end(), std::back_inserter(errdat)); std::copy(e.what(), e.what() + strlen(e.what()), std::back_inserter(errdat)); curres.send(curreq,errdat,errdat.size()); } } Loading Loading
examples/httpform.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ public: curres.setState(HTTP500); curres.setContentLength(0); std::vector<char> errdat; std::copy(e.what().begin(), e.what().end(), std::back_inserter(errdat)); std::copy(e.what(), e.what() + strlen(e.what()), std::back_inserter(errdat)); curres.send(curreq,errdat,errdat.size()); } } Loading