diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2011-10-12 09:27:34 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2011-10-12 09:27:34 +0000 |
| commit | 51a2423633f3831ca4b05ba1afea83a4d3189835 (patch) | |
| tree | 39521230d299f10acc8e1d8243579dfcd08cfe13 /src | |
| parent | bfe7be45b87c766469bf912ba9e080886065fb08 (diff) | |
| download | nginx-51a2423633f3831ca4b05ba1afea83a4d3189835.tar.gz nginx-51a2423633f3831ca4b05ba1afea83a4d3189835.tar.bz2 | |
Stylistic change in checking the boolean expression.
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/ngx_http_special_response.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index 0d66a4b6b..ea0378e4e 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -375,7 +375,7 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) } } - if (r->lingering_close == 1) { + if (r->lingering_close) { switch (error) { case NGX_HTTP_BAD_REQUEST: case NGX_HTTP_TO_HTTPS: |
