Commit 12963a2e authored by jan.koester's avatar jan.koester
Browse files

fixed session.cpp

parent f6403435
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/session.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ void authdb::Session::relSession(AuthBackend &backend,uuid_t sessionid){
            && uuid_compare(cur.uuid,cursess->_uid)==0){

            char *tmp=new char[cur.datasize];
            backend.read((unsigned char*)tmp,cur.datasize);
            backend.read(reinterpret_cast<unsigned char*>(tmp),cur.datasize);
            username=tmp;
            delete[] tmp;
        }