Skip to content

Commit a069259

Browse files
committed
Update ngx_http_auth_digest_module.c
fix compile bug
1 parent 819dd9f commit a069259

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ngx_http_auth_digest_module.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,8 @@ ngx_http_auth_digest_check_credentials(ngx_http_request_t *r, ngx_http_auth_dige
479479
if (quoted_pair_count > 0) {
480480
value.data = ngx_palloc(r->pool, value.len);
481481
u_char *d = value.data;
482-
for (u_char *s = start; s < end; s++) {
482+
u_char *s = '';
483+
for (s = start; s < end; s++) {
483484
ch = *s;
484485
if (ch == '\\') continue;
485486
*d++ = ch;

0 commit comments

Comments
 (0)