Skip to content

Commit

Permalink
SSI: fixed type.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphucc committed Oct 26, 2017
1 parent cfc8c28 commit d303a95
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/http/modules/ngx_http_ssi_filter_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1630,8 +1630,7 @@ ngx_http_ssi_evaluate_string(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
u_char ch, *p, **value, *data, *part_data;
size_t *size, len, prefix, part_len;
ngx_str_t var, *val;
ngx_int_t key;
ngx_uint_t i, n, bracket, quoted;
ngx_uint_t i, n, bracket, quoted, key;
ngx_array_t lengths, values;
ngx_http_variable_value_t *vv;

Expand Down Expand Up @@ -1883,9 +1882,8 @@ ngx_http_ssi_regex_match(ngx_http_request_t *r, ngx_str_t *pattern,
int rc, *captures;
u_char *p, errstr[NGX_MAX_CONF_ERRSTR];
size_t size;
ngx_int_t key;
ngx_str_t *vv, name, value;
ngx_uint_t i, n;
ngx_uint_t i, n, key;
ngx_http_ssi_ctx_t *ctx;
ngx_http_ssi_var_t *var;
ngx_regex_compile_t rgc;
Expand Down Expand Up @@ -1988,10 +1986,10 @@ static ngx_int_t
ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ngx_str_t **params)
{
ngx_int_t rc, key;
ngx_int_t rc;
ngx_str_t *uri, *file, *wait, *set, *stub, args;
ngx_buf_t *b;
ngx_uint_t flags, i;
ngx_uint_t flags, i, key;
ngx_chain_t *cl, *tl, **ll, *out;
ngx_http_request_t *sr;
ngx_http_ssi_var_t *var;
Expand Down Expand Up @@ -2248,9 +2246,9 @@ ngx_http_ssi_echo(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
{
u_char *p;
uintptr_t len;
ngx_int_t key;
ngx_buf_t *b;
ngx_str_t *var, *value, *enc, text;
ngx_uint_t key;
ngx_chain_t *cl;
ngx_http_variable_value_t *vv;

Expand Down Expand Up @@ -2410,8 +2408,9 @@ static ngx_int_t
ngx_http_ssi_set(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ngx_str_t **params)
{
ngx_int_t key, rc;
ngx_int_t rc;
ngx_str_t *name, *value, *vv;
ngx_uint_t key;
ngx_http_ssi_var_t *var;
ngx_http_ssi_ctx_t *mctx;

Expand Down

0 comments on commit d303a95

Please sign in to comment.