aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/basicauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/basicauth.c')
-rw-r--r--src/microhttpd/basicauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/basicauth.c b/src/microhttpd/basicauth.c
index d9532d4a..d39019f5 100644
--- a/src/microhttpd/basicauth.c
+++ b/src/microhttpd/basicauth.c
@@ -151,7 +151,7 @@ MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
151 ret = MHD_NO; 151 ret = MHD_NO;
152 152
153 free (header); 153 free (header);
154 if (MHD_YES == ret) 154 if (MHD_NO != ret)
155 { 155 {
156 ret = MHD_queue_response (connection, 156 ret = MHD_queue_response (connection,
157 MHD_HTTP_UNAUTHORIZED, 157 MHD_HTTP_UNAUTHORIZED,