From 7b7a472eb22a4cc91c73c8b8233c3d457467de36 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 14 Feb 2011 10:43:52 +0000 Subject: Revert httpd.cc file from last commit. --- server/src/httpd.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'server') diff --git a/server/src/httpd.cc b/server/src/httpd.cc index 185ad9d..f0abbb5 100644 --- a/server/src/httpd.cc +++ b/server/src/httpd.cc @@ -117,12 +117,8 @@ static int request_handler(void *cls, i++; } - bool authfailed = true; - if(authfailed) { - ret = MHD_queue_basic_auth_fail_response(con, "my realm", rsp); - } else { - ret = MHD_queue_response(con, reply.status, rsp); - } + ret = MHD_queue_response(con, reply.status, rsp); + MHD_destroy_response(rsp); } -- cgit v1.2.3