diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-08-07 10:56:09 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-08-07 10:56:09 +0000 |
commit | fda6a08f71e2131c374aca7d488ae25ae3c6ea3f (patch) | |
tree | 428cfa57f5826494aec6a57238aa015ad4e6b952 /src/http/modules/ngx_http_dav_module.c | |
parent | 4fbd86829b6217cc3b074e833d89a8019e278e79 (diff) | |
download | nginx-fda6a08f71e2131c374aca7d488ae25ae3c6ea3f.tar.gz nginx-fda6a08f71e2131c374aca7d488ae25ae3c6ea3f.zip |
omit unnecessary conditions
Diffstat (limited to 'src/http/modules/ngx_http_dav_module.c')
-rw-r--r-- | src/http/modules/ngx_http_dav_module.c | 6 |
1 files changed, 3 insertions, 3 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; } |