Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #17 from iMega/master

fix issue_#10
  • Loading branch information...
commit d76c49ab0ce154423be9a540c7d3f713e2a40f50 2 parents 125fa2e + 76e9050
@vkholodkov authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 ngx_http_eval_module.c
View
8 ngx_http_eval_module.c
@@ -628,7 +628,7 @@ ngx_http_eval_add_block(ngx_conf_t *cf, ngx_http_eval_loc_conf_t *conf, ngx_str_
static char *
ngx_http_eval_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
{
- ngx_http_eval_loc_conf_t *ecf, *pecf = conf;
+ ngx_http_eval_loc_conf_t *pecf = conf;
char *rv;
void *mconf;
@@ -637,7 +637,7 @@ ngx_http_eval_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_conf_t save;
ngx_http_module_t *module;
ngx_http_conf_ctx_t *ctx, *pctx;
- ngx_http_core_loc_conf_t *clcf, *pclcf, *rclcf;
+ ngx_http_core_loc_conf_t *clcf, *rclcf;
ngx_http_core_srv_conf_t *cscf;
ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t));
@@ -672,10 +672,6 @@ ngx_http_eval_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
}
}
- ecf = ctx->loc_conf[ngx_http_eval_module.ctx_index];
-
- pclcf = pctx->loc_conf[ngx_http_core_module.ctx_index];
-
clcf = ctx->loc_conf[ngx_http_core_module.ctx_index];
name.len = sizeof("/eval_") - 1 + NGX_OFF_T_LEN;
Please sign in to comment.
Something went wrong with that request. Please try again.