aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_static_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-08-07 10:56:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-08-07 10:56:09 +0000
commitfda6a08f71e2131c374aca7d488ae25ae3c6ea3f (patch)
tree428cfa57f5826494aec6a57238aa015ad4e6b952 /src/http/modules/ngx_http_static_module.c
parent4fbd86829b6217cc3b074e833d89a8019e278e79 (diff)
downloadnginx-fda6a08f71e2131c374aca7d488ae25ae3c6ea3f.tar.gz
nginx-fda6a08f71e2131c374aca7d488ae25ae3c6ea3f.zip
omit unnecessary conditions
Diffstat (limited to 'src/http/modules/ngx_http_static_module.c')
-rw-r--r--src/http/modules/ngx_http_static_module.c2
1 files changed, 1 insertions, 1 deletions
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;
}