From: Stefan Esser Date: Tue, 25 May 2004 22:12:40 +0000 (+0000) Subject: break is better X-Git-Tag: php-5.0.0RC3RC1~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dc95709c8b9ce4ccac3fcde9b0062f260ee1fe9;p=php break is better --- diff --git a/main/SAPI.c b/main/SAPI.c index 1ab3cc7244..7fa56b02bc 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -201,7 +201,7 @@ SAPI_API SAPI_POST_READER_FUNC(sapi_read_standard_form_data) SG(read_post_bytes) += read_bytes; if (SG(read_post_bytes) > SG(post_max_size)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Actual POST length does not match Content-Length, and exceeds %ld bytes", SG(post_max_size)); - return; + break; } if (read_bytes < SAPI_POST_BLOCK_SIZE) { break;