Commit f39d60ea authored by jan.koester's avatar jan.koester
Browse files

fixed

parent f4888ef6
Loading
Loading
Loading
Loading
Loading
+1 −5
Changes for client/client.cpp: 1 added line, 5 removed lines.
Original line number Diff line number Diff line
@@ -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();
@@ -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;