Commit 740693f7 authored by jan.koester's avatar jan.koester
Browse files

test it

parent 82fdebbf
Loading
Loading
Loading
Loading
Loading
+1 −3
Changes for src/authdb.cpp: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -265,7 +265,6 @@ namespace authdb {
                }

                if(apidb){
                    apidb->lock();
                    try{
                        ApiController(*apidb,did,curreq,tid,args);
                    }catch(AuthBackendError &e){
@@ -274,7 +273,6 @@ namespace authdb {
                        rep.setContentType("text/html");
                        rep.send(curreq,e.what(),strlen(e.what()));
                    }
                    apidb->unlock();
                }else{
                    libhttppp::HttpResponse rep;
                    rep.setState(HTTP404);
@@ -444,7 +442,7 @@ int main(int argc, char *argv[]){

        authdb::AuthDB authdb(backend,httpd.getServerSocket());

      //  authdb.threads=2;
        authdb.threads=2;
        authdb.runEventloop();
    }catch(authdb::AuthBackendError &e){
        std::cerr << e.what() << std::endl;