diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-08-07 14:56:09 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-08-07 14:56:09 +0400 |
commit | fda6a08f71e2131c374aca7d488ae25ae3c6ea3f (patch) | |
tree | 428cfa57f5826494aec6a57238aa015ad4e6b952 | |
parent | 4fbd86829b6217cc3b074e833d89a8019e278e79 (diff) |
omit unnecessary conditions
-rw-r--r-- | src/http/modules/ngx_http_dav_module.c | 6 | ||||
-rw-r--r-- | src/http/modules/ngx_http_empty_gif_module.c | 2 | ||||
-rw-r--r-- | src/http/modules/ngx_http_flv_module.c | 2 | ||||
-rw-r--r-- | src/http/modules/ngx_http_memcached_module.c | 2 | ||||
-rw-r--r-- | src/http/modules/ngx_http_static_module.c | 2 | ||||
-rw-r--r-- | src/http/modules/ngx_http_stub_status_module.c | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index 2378e3679..854627c78 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -355,7 +355,7 @@ ngx_http_dav_delete_handler(ngx_http_request_t *r) rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } @@ -471,7 +471,7 @@ ngx_http_dav_mkcol_handler(ngx_http_request_t *r, ngx_http_dav_loc_conf_t *dlcf) rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } @@ -613,7 +613,7 @@ overwrite_done: rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } diff --git a/src/http/modules/ngx_http_empty_gif_module.c b/src/http/modules/ngx_http_empty_gif_module.c index dd9b93510..66ada088a 100644 --- a/src/http/modules/ngx_http_empty_gif_module.c +++ b/src/http/modules/ngx_http_empty_gif_module.c @@ -118,7 +118,7 @@ ngx_http_empty_gif_handler(ngx_http_request_t *r) rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c index e1bec8b81..cc258ea23 100644 --- a/src/http/modules/ngx_http_flv_module.c +++ b/src/http/modules/ngx_http_flv_module.c @@ -91,7 +91,7 @@ ngx_http_flv_handler(ngx_http_request_t *r) rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } diff --git a/src/http/modules/ngx_http_memcached_module.c b/src/http/modules/ngx_http_memcached_module.c index 1cb8b749c..013b5cbb8 100644 --- a/src/http/modules/ngx_http_memcached_module.c +++ b/src/http/modules/ngx_http_memcached_module.c @@ -169,7 +169,7 @@ ngx_http_memcached_handler(ngx_http_request_t *r) rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index e074b234b..b94ebf230 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -102,7 +102,7 @@ ngx_http_static_handler(ngx_http_request_t *r) rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } diff --git a/src/http/modules/ngx_http_stub_status_module.c b/src/http/modules/ngx_http_stub_status_module.c index 10b393739..6cdf8513c 100644 --- a/src/http/modules/ngx_http_stub_status_module.c +++ b/src/http/modules/ngx_http_stub_status_module.c @@ -71,7 +71,7 @@ static ngx_int_t ngx_http_status_handler(ngx_http_request_t *r) rc = ngx_http_discard_request_body(r); - if (rc != NGX_OK && rc != NGX_AGAIN) { + if (rc != NGX_OK) { return rc; } |