diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2014-11-19 17:33:21 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2014-11-19 17:33:21 +0300 |
| commit | 3b33056522dcf79b5450e06ebc8186857e7b2868 (patch) | |
| tree | 5d164f732bdcefaedc4178a28b985d923b5ee5aa | |
| parent | 2628cc11d44c373e64ac0bc3a4b0e5eac69f371d (diff) | |
| download | nginx-3b33056522dcf79b5450e06ebc8186857e7b2868.tar.gz nginx-3b33056522dcf79b5450e06ebc8186857e7b2868.tar.bz2 | |
Scgi: do not push redundant NULL element into conf->params.
| -rw-r--r-- | src/http/modules/ngx_http_scgi_module.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/http/modules/ngx_http_scgi_module.c b/src/http/modules/ngx_http_scgi_module.c index ccbfd3263..2c7a8af5d 100644 --- a/src/http/modules/ngx_http_scgi_module.c +++ b/src/http/modules/ngx_http_scgi_module.c @@ -1670,13 +1670,6 @@ ngx_http_scgi_merge_params(ngx_conf_t *cf, ngx_http_scgi_loc_conf_t *conf, *code = (uintptr_t) NULL; - code = ngx_array_push_n(conf->params, sizeof(uintptr_t)); - if (code == NULL) { - return NGX_ERROR; - } - - *code = (uintptr_t) NULL; - conf->header_params = headers_names.nelts; hash.hash = &conf->headers_hash; |
