aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-09 19:47:07 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-03-09 19:47:07 +0000
commitfc5a10aedcdd8cf261ecc164941562bc52fe415d (patch)
treedc6ad97805a315afca82e852717f84debb30eb54 /src/http/ngx_http_core_module.c
parent833823cbb89482710779c59206b77c197c3747d2 (diff)
downloadnginx-fc5a10aedcdd8cf261ecc164941562bc52fe415d.tar.gz
nginx-fc5a10aedcdd8cf261ecc164941562bc52fe415d.zip
nginx-0.0.2-2004-03-09-22:47:07 import
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 20c7a5594..e717a6ac7 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -844,13 +844,16 @@ static char *ngx_location_block(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy)
{
char *rv;
ngx_int_t m;
- ngx_str_t *value, err;
+ ngx_str_t *value;
ngx_http_module_t *module;
ngx_conf_t pvcf;
ngx_http_conf_ctx_t *ctx, *pvctx;
ngx_http_core_srv_conf_t *cscf;
ngx_http_core_loc_conf_t *clcf, **clcfp;
+#if (HAVE_PCRE)
+ ngx_str_t err;
char errstr[NGX_MAX_CONF_ERRSTR];
+#endif
if (!(ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)))) {
return NGX_CONF_ERROR;