diff options
author | deva <deva> | 2011-02-14 10:43:52 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-14 10:43:52 +0000 |
commit | 7b7a472eb22a4cc91c73c8b8233c3d457467de36 (patch) | |
tree | d197aff1b07cf4d0eb4e7145809a25400b298b6b | |
parent | dc8cfaa08168fdd332faded2f78679a2a1904fbe (diff) |
Revert httpd.cc file from last commit.
-rw-r--r-- | server/src/httpd.cc | 8 |
1 files changed, 2 insertions, 6 deletions
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); } |