Commit 8fc8838c authored by jan.koester's avatar jan.koester
Browse files

fied nullptr

parent f7c9520b
Loading
Loading
Loading
Loading
+3 −3
Changes for src/http.h: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -411,9 +411,9 @@ namespace libhttppp {
    void parse(libhttppp::HttpRequest& curreq);
    void setcookie(libhttppp::HttpResponse& curresp,
                   const std::string &key,const std::string &value,
                   const std::string &comment=nullptr,const std::string &domain=nullptr,
                   int maxage=-1,const std::string &path=nullptr,
                   bool secure=false,const std::string &version="1",const std::string &samesite=nullptr,bool httponly=false);
                   const std::string &comment="",const std::string &domain="",
                   int maxage=-1,const std::string &path="",
                   bool secure=false,const std::string &version="1",const std::string &samesite="",bool httponly=false);
    CookieData    *getfirstCookieData();
    CookieData    *getlastCookieData();
    CookieData    *addCookieData();