diff src/http/modules/ngx_http_ssi_filter_module.c @ 1320:e30e9de091b7

exit cycle early, found by Coverity's Scan
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Jul 2007 19:12:36 +0000
parents 58691d40829f
children 2d8fab47dd89
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -439,6 +439,8 @@ ngx_http_ssi_body_filter(ngx_http_reques
                 if (rc == NGX_ERROR || rc == NGX_AGAIN) {
                     return rc;
                 }
+
+                break;
             }
         }