Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.c @ 282:30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 09 Mar 2004 19:47:07 +0000 |
parents | 70e1c7d2b83d |
children | 35a6a9df2d25 |
comparison
equal
deleted
inserted
replaced
281:014292b55158 | 282:30310107dbc9 |
---|---|
842 | 842 |
843 static char *ngx_location_block(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy) | 843 static char *ngx_location_block(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy) |
844 { | 844 { |
845 char *rv; | 845 char *rv; |
846 ngx_int_t m; | 846 ngx_int_t m; |
847 ngx_str_t *value, err; | 847 ngx_str_t *value; |
848 ngx_http_module_t *module; | 848 ngx_http_module_t *module; |
849 ngx_conf_t pvcf; | 849 ngx_conf_t pvcf; |
850 ngx_http_conf_ctx_t *ctx, *pvctx; | 850 ngx_http_conf_ctx_t *ctx, *pvctx; |
851 ngx_http_core_srv_conf_t *cscf; | 851 ngx_http_core_srv_conf_t *cscf; |
852 ngx_http_core_loc_conf_t *clcf, **clcfp; | 852 ngx_http_core_loc_conf_t *clcf, **clcfp; |
853 #if (HAVE_PCRE) | |
854 ngx_str_t err; | |
853 char errstr[NGX_MAX_CONF_ERRSTR]; | 855 char errstr[NGX_MAX_CONF_ERRSTR]; |
856 #endif | |
854 | 857 |
855 if (!(ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)))) { | 858 if (!(ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)))) { |
856 return NGX_CONF_ERROR; | 859 return NGX_CONF_ERROR; |
857 } | 860 } |
858 | 861 |