Loading examples/httpcookie.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -118,13 +118,13 @@ public: void parseCookie() { _Cookie.parse(_Curreq); _HTMLDat << "<div style=\"border: thin solid black\"><span>Httpcookie's</span></br>"; _HTMLDat << "<div style=\"border: thin solid black\"><span>Httpcookie's</span><br>"; for(libhttppp::HttpCookie::CookieData *curcookie=_Cookie.getfirstCookieData(); curcookie; curcookie=curcookie->nextCookieData()){ _HTMLDat << "key: " << curcookie->getKey() << " "; _HTMLDat << "value: " << curcookie->getValue() << "</br>"; _HTMLDat << "<span>key: " << curcookie->getKey() << "</span> "; _HTMLDat << "<span>value: " << curcookie->getValue() << "</span><br>"; } _HTMLDat << "</div></br>"; _HTMLDat << "</div><br>"; }; private: Loading src/http.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1391,7 +1391,7 @@ void libhttppp::HttpCookie::parse(libhttppp::HttpRequest* curreq){ curcookie->_Value = cdat.substr((keyendpos+1),delimeter-(keyendpos+1)); keyendpos = -1; delimeter = -1; startpos = cpos+1; startpos = ++cpos; } } } Loading Loading
examples/httpcookie.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -118,13 +118,13 @@ public: void parseCookie() { _Cookie.parse(_Curreq); _HTMLDat << "<div style=\"border: thin solid black\"><span>Httpcookie's</span></br>"; _HTMLDat << "<div style=\"border: thin solid black\"><span>Httpcookie's</span><br>"; for(libhttppp::HttpCookie::CookieData *curcookie=_Cookie.getfirstCookieData(); curcookie; curcookie=curcookie->nextCookieData()){ _HTMLDat << "key: " << curcookie->getKey() << " "; _HTMLDat << "value: " << curcookie->getValue() << "</br>"; _HTMLDat << "<span>key: " << curcookie->getKey() << "</span> "; _HTMLDat << "<span>value: " << curcookie->getValue() << "</span><br>"; } _HTMLDat << "</div></br>"; _HTMLDat << "</div><br>"; }; private: Loading
src/http.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1391,7 +1391,7 @@ void libhttppp::HttpCookie::parse(libhttppp::HttpRequest* curreq){ curcookie->_Value = cdat.substr((keyendpos+1),delimeter-(keyendpos+1)); keyendpos = -1; delimeter = -1; startpos = cpos+1; startpos = ++cpos; } } } Loading