diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-11-13 13:30:34 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-11-13 13:30:34 +0000 |
commit | d67d8478a675ca812810826eff4708616a33008f (patch) | |
tree | 4caf90fb1a7cfcce25643d343ce2070580886e80 | |
parent | d0e8e5456c0443a2b06c8ee639e09080d85c4396 (diff) | |
download | nginx-d67d8478a675ca812810826eff4708616a33008f.tar.gz |
remove unused field
-rw-r--r-- | src/mail/ngx_mail_auth_http_module.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c index dac7b6a7b..5b9f04238 100644 --- a/src/mail/ngx_mail_auth_http_module.c +++ b/src/mail/ngx_mail_auth_http_module.c @@ -40,7 +40,6 @@ struct ngx_mail_auth_http_ctx_s { ngx_mail_auth_http_handler_pt handler; ngx_uint_t state; - ngx_uint_t hash; /* no needed ? */ u_char *header_name_start; u_char *header_name_end; @@ -915,7 +914,6 @@ ngx_mail_auth_http_parse_header_line(ngx_mail_session_t *s, ngx_mail_auth_http_ctx_t *ctx) { u_char c, ch, *p; - ngx_uint_t hash; enum { sw_start = 0, sw_name, @@ -927,7 +925,6 @@ ngx_mail_auth_http_parse_header_line(ngx_mail_session_t *s, } state; state = ctx->state; - hash = ctx->hash; for (p = ctx->response->pos; p < ctx->response->last; p++) { ch = *p; @@ -951,12 +948,10 @@ ngx_mail_auth_http_parse_header_line(ngx_mail_session_t *s, c = (u_char) (ch | 0x20); if (c >= 'a' && c <= 'z') { - hash = c; break; } if (ch >= '0' && ch <= '9') { - hash = ch; break; } @@ -968,7 +963,6 @@ ngx_mail_auth_http_parse_header_line(ngx_mail_session_t *s, case sw_name: c = (u_char) (ch | 0x20); if (c >= 'a' && c <= 'z') { - hash += c; break; } @@ -979,12 +973,10 @@ ngx_mail_auth_http_parse_header_line(ngx_mail_session_t *s, } if (ch == '-') { - hash += ch; break; } if (ch >= '0' && ch <= '9') { - hash += ch; break; } @@ -1081,7 +1073,6 @@ ngx_mail_auth_http_parse_header_line(ngx_mail_session_t *s, ctx->response->pos = p; ctx->state = state; - ctx->hash = hash; return NGX_AGAIN; @@ -1089,7 +1080,6 @@ done: ctx->response->pos = p + 1; ctx->state = sw_start; - ctx->hash = hash; return NGX_OK; |