Commit 949902d2 authored by jan.koester's avatar jan.koester
Browse files

test

parent cd39b787
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/admin.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2352,7 +2352,7 @@ namespace authdb {
                cookie.parse(curreq);

                for(libhttppp::HttpCookie::CookieData *cur=cookie.getfirstCookieData(); cur; cur=cur->nextCookieData()){
                    if(strcmp(cur->getKey(),"authdbid")==0){
                    if(cur->getKey()=="authdbid"){
                            if(ssid.parse(cur->getValue())==0){
                                sdat=AuthSession.getSession(ssid);
                            }
+3 −0
Changes for src/uuid.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -65,6 +65,9 @@ int authdb::uuid::parse(const char* src){
     return uuid_parse(src,value);
}

int authdb::uuid::parse(const std::string &src){
     return parse(src.c_str());
}

bool authdb::uuid::empty() const{
    if(uuid_is_null(value)==1)
+1 −0
Changes for src/uuid.h: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ namespace authdb{
      bool empty() const;

      int parse(const char* src);
      int parse(const std::string &src);

      void clear();