]> git.kaiwu.me - nginx.git/commitdiff
exit cycle early,
authorIgor Sysoev <igor@sysoev.ru>
Thu, 19 Jul 2007 19:12:36 +0000 (19:12 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 19 Jul 2007 19:12:36 +0000 (19:12 +0000)
found by Coverity's Scan

src/http/modules/ngx_http_ssi_filter_module.c

index 549ae4ce2bc77a3977e993451fa881a45abd23a0..0de03aae0831dcc8e4b045ad6aef3b27cab039fa 100644 (file)
@@ -439,6 +439,8 @@ ngx_http_ssi_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
                 if (rc == NGX_ERROR || rc == NGX_AGAIN) {
                     return rc;
                 }
+
+                break;
             }
         }