Skip to content

Commit

Permalink
Fix a typo: separator instead of character set
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-nikitin committed May 21, 2018
1 parent 5654bbe commit 763aa32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngx_http_zip_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ ngx_http_zip_generate_pieces(ngx_http_request_t *r, ngx_http_zip_ctx_t *ctx)
#ifdef NGX_ZIP_HAVE_ICONV
variable_header_status = NGX_OK;
if (r->upstream) {
variable_header_status = ngx_http_variable_unknown_header(vv, &ngx_http_zip_header_name_separator,
variable_header_status = ngx_http_variable_unknown_header(vv, &ngx_http_zip_header_charset_name,
&r->upstream->headers_in.headers.part, sizeof("upstream_http_")-1);
} else {
vv->not_found = 1;
Expand Down

0 comments on commit 763aa32

Please sign in to comment.