diff options
Diffstat (limited to 'server/src/httpd.cc')
-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); } |