summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authordeva <deva>2011-02-14 10:43:52 +0000
committerdeva <deva>2011-02-14 10:43:52 +0000
commit7b7a472eb22a4cc91c73c8b8233c3d457467de36 (patch)
treed197aff1b07cf4d0eb4e7145809a25400b298b6b /server/src
parentdc8cfaa08168fdd332faded2f78679a2a1904fbe (diff)
Revert httpd.cc file from last commit.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/httpd.cc8
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);
}