diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-11 00:09:22 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-11 00:09:22 +0300 |
commit | d59a047a7070dc6af13b2e35c097efccc8ce38d0 (patch) | |
tree | 7efbd7a8fd2e4d871da3165dab7287c49fb0341e /src/http/ngx_http.h | |
parent | 7832933eed3cb0187eca4fba87076f10c897925e (diff) |
nginx-0.0.1-2003-11-11-00:09:22 import
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r-- | src/http/ngx_http.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 26dde7fca..aef53e891 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -21,6 +21,8 @@ typedef struct { #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index] +#define ngx_http_get_module_err_ctx(r, module) \ + (r->err_ctx ? r->err_ctx[module.ctx_index] : r->ctx[module.ctx_index]) #define ngx_http_create_ctx(r, cx, module, size, error) \ do { \ |