comparison src/http/ngx_http_special_response.c @ 4201:1d52dd2b5bb7

Stylistic change in checking the boolean expression.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 12 Oct 2011 09:27:34 +0000
parents 55acacac22df
children 1a94a56a4e5d
comparison
equal deleted inserted replaced
4200:4f5b3714eead 4201:1d52dd2b5bb7
373 case NGX_HTTP_INTERNAL_SERVER_ERROR: 373 case NGX_HTTP_INTERNAL_SERVER_ERROR:
374 r->keepalive = 0; 374 r->keepalive = 0;
375 } 375 }
376 } 376 }
377 377
378 if (r->lingering_close == 1) { 378 if (r->lingering_close) {
379 switch (error) { 379 switch (error) {
380 case NGX_HTTP_BAD_REQUEST: 380 case NGX_HTTP_BAD_REQUEST:
381 case NGX_HTTP_TO_HTTPS: 381 case NGX_HTTP_TO_HTTPS:
382 case NGX_HTTPS_CERT_ERROR: 382 case NGX_HTTPS_CERT_ERROR:
383 case NGX_HTTPS_NO_CERT: 383 case NGX_HTTPS_NO_CERT: