diff options
Diffstat (limited to 'src/microhttpd/basicauth.c')
-rw-r--r-- | src/microhttpd/basicauth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/basicauth.c b/src/microhttpd/basicauth.c index f1e38af4..4fba487b 100644 --- a/src/microhttpd/basicauth.c +++ b/src/microhttpd/basicauth.c | |||
@@ -143,7 +143,7 @@ MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, | |||
143 | hlen, | 143 | hlen, |
144 | "Basic realm=\"%s\"", | 144 | "Basic realm=\"%s\"", |
145 | realm); | 145 | realm); |
146 | if ((res > 0)&&((size_t) res < hlen)) | 146 | if ((res > 0) && ((size_t) res < hlen)) |
147 | ret = MHD_add_response_header (response, | 147 | ret = MHD_add_response_header (response, |
148 | MHD_HTTP_HEADER_WWW_AUTHENTICATE, | 148 | MHD_HTTP_HEADER_WWW_AUTHENTICATE, |
149 | header); | 149 | header); |
@@ -167,4 +167,5 @@ MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, | |||
167 | return ret; | 167 | return ret; |
168 | } | 168 | } |
169 | 169 | ||
170 | |||
170 | /* end of basicauth.c */ | 171 | /* end of basicauth.c */ |