Commit f6374bb8 authored by jan.koester's avatar jan.koester
Browse files

liitle fix

parent 1d4d5586
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -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;
	  }
  }
}