Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 6940:39ff6939266e
Unified error messages about duplicate directives.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 22 Mar 2017 22:49:52 +0300 |
parents | 8b7fd958c59f |
children | 6e20a6479325 |
comparison
equal
deleted
inserted
replaced
6939:633a36655bb6 | 6940:39ff6939266e |
---|---|
4527 ngx_http_conf_ctx_t *ctx, *pctx; | 4527 ngx_http_conf_ctx_t *ctx, *pctx; |
4528 ngx_http_method_name_t *name; | 4528 ngx_http_method_name_t *name; |
4529 ngx_http_core_loc_conf_t *clcf; | 4529 ngx_http_core_loc_conf_t *clcf; |
4530 | 4530 |
4531 if (pclcf->limit_except) { | 4531 if (pclcf->limit_except) { |
4532 return "duplicate"; | 4532 return "is duplicate"; |
4533 } | 4533 } |
4534 | 4534 |
4535 pclcf->limit_except = 0xffffffff; | 4535 pclcf->limit_except = 0xffffffff; |
4536 | 4536 |
4537 value = cf->args->elts; | 4537 value = cf->args->elts; |