Loading src/api.cpp +1 −5 Changes for src/api.cpp: 1 added line, 5 removed lines. Original line number Diff line number Diff line Loading @@ -117,7 +117,6 @@ namespace authdb { } const SessionData *userLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -192,7 +191,6 @@ namespace authdb { const ClientConnections *ClientLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -264,7 +262,6 @@ namespace authdb { } void Connection(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -379,7 +376,6 @@ namespace authdb { void changeUserPw(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -439,7 +435,7 @@ namespace authdb { } Api(AuthBackend &admin,class uuid did, libhttppp::HttpRequest* curreq, const int tid, ULONG_PTR args) : _Backend(admin), _Did(did){ std::lock_guard<std::mutex> lock(AuthClientLock); _SessionData=nullptr; libhttppp::HttpResponse rep; Loading Loading
src/api.cpp +1 −5 Changes for src/api.cpp: 1 added line, 5 removed lines. Original line number Diff line number Diff line Loading @@ -117,7 +117,6 @@ namespace authdb { } const SessionData *userLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -192,7 +191,6 @@ namespace authdb { const ClientConnections *ClientLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -264,7 +262,6 @@ namespace authdb { } void Connection(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -379,7 +376,6 @@ namespace authdb { void changeUserPw(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -439,7 +435,7 @@ namespace authdb { } Api(AuthBackend &admin,class uuid did, libhttppp::HttpRequest* curreq, const int tid, ULONG_PTR args) : _Backend(admin), _Did(did){ std::lock_guard<std::mutex> lock(AuthClientLock); _SessionData=nullptr; libhttppp::HttpResponse rep; Loading