Skip to content

Commit 4ed64f1

Browse files
committed
Update ngx_http_auth_digest_module.c
fix compile error -_-
1 parent a069259 commit 4ed64f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ngx_http_auth_digest_module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +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-
u_char *s = '';
483-
for (s = start; s < end; s++) {
482+
u_char *s = start;
483+
for (; s < end; s++) {
484484
ch = *s;
485485
if (ch == '\\') continue;
486486
*d++ = ch;

0 commit comments

Comments
 (0)