changeset 1374:aabbf66b61ea

omit unnecessary conditions
author Igor Sysoev <igor@sysoev.ru>
date Tue, 07 Aug 2007 10:56:09 +0000
parents fdea12ffb24a
children 8d7120543619
files src/http/modules/ngx_http_dav_module.c src/http/modules/ngx_http_empty_gif_module.c src/http/modules/ngx_http_flv_module.c src/http/modules/ngx_http_memcached_module.c src/http/modules/ngx_http_static_module.c src/http/modules/ngx_http_stub_status_module.c
diffstat 6 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_dav_module.c	Tue Aug 07 10:53:27 2007 +0000
+++ b/src/http/modules/ngx_http_dav_module.c	Tue Aug 07 10:56:09 2007 +0000
@@ -355,7 +355,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }
 
@@ -471,7 +471,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }
 
@@ -613,7 +613,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }
 
--- a/src/http/modules/ngx_http_empty_gif_module.c	Tue Aug 07 10:53:27 2007 +0000
+++ b/src/http/modules/ngx_http_empty_gif_module.c	Tue Aug 07 10:56:09 2007 +0000
@@ -118,7 +118,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }
 
--- a/src/http/modules/ngx_http_flv_module.c	Tue Aug 07 10:53:27 2007 +0000
+++ b/src/http/modules/ngx_http_flv_module.c	Tue Aug 07 10:56:09 2007 +0000
@@ -91,7 +91,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }
 
--- a/src/http/modules/ngx_http_memcached_module.c	Tue Aug 07 10:53:27 2007 +0000
+++ b/src/http/modules/ngx_http_memcached_module.c	Tue Aug 07 10:56:09 2007 +0000
@@ -169,7 +169,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }
 
--- a/src/http/modules/ngx_http_static_module.c	Tue Aug 07 10:53:27 2007 +0000
+++ b/src/http/modules/ngx_http_static_module.c	Tue Aug 07 10:56:09 2007 +0000
@@ -102,7 +102,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }
 
--- a/src/http/modules/ngx_http_stub_status_module.c	Tue Aug 07 10:53:27 2007 +0000
+++ b/src/http/modules/ngx_http_stub_status_module.c	Tue Aug 07 10:56:09 2007 +0000
@@ -71,7 +71,7 @@
 
     rc = ngx_http_discard_request_body(r);
 
-    if (rc != NGX_OK && rc != NGX_AGAIN) {
+    if (rc != NGX_OK) {
         return rc;
     }