Loading client/client.cpp +1 −5 Changes for client/client.cpp: 1 added line, 5 removed lines. Original line number Diff line number Diff line Loading @@ -197,7 +197,7 @@ bool authdb::client::Client::UserAuth(){ json_tokener_free(jtok); return false; } #include <iostream> void authdb::client::Client::SessionInfo(class SessionData& sdat){ json_object *jresponse = json_object_new_object(); json_object *cmd=json_object_new_array(); Loading @@ -218,14 +218,10 @@ void authdb::client::Client::SessionInfo(class SessionData& sdat){ std::copy(tmp,tmp+outsize,std::back_inserter(out)); std::cout << tmp << std::endl; std::vector<char> resp(_Con._Client->Post(_Con._Url.getPath(),"text/json",out)); resp.push_back('\0'); std::cout << resp.data() << std::endl; json_object_put(jresponse); json_object *jrequest; Loading Loading
client/client.cpp +1 −5 Changes for client/client.cpp: 1 added line, 5 removed lines. Original line number Diff line number Diff line Loading @@ -197,7 +197,7 @@ bool authdb::client::Client::UserAuth(){ json_tokener_free(jtok); return false; } #include <iostream> void authdb::client::Client::SessionInfo(class SessionData& sdat){ json_object *jresponse = json_object_new_object(); json_object *cmd=json_object_new_array(); Loading @@ -218,14 +218,10 @@ void authdb::client::Client::SessionInfo(class SessionData& sdat){ std::copy(tmp,tmp+outsize,std::back_inserter(out)); std::cout << tmp << std::endl; std::vector<char> resp(_Con._Client->Post(_Con._Url.getPath(),"text/json",out)); resp.push_back('\0'); std::cout << resp.data() << std::endl; json_object_put(jresponse); json_object *jrequest; Loading