]> granicus.if.org Git - php/commitdiff
break is better
authorStefan Esser <sesser@php.net>
Tue, 25 May 2004 22:12:40 +0000 (22:12 +0000)
committerStefan Esser <sesser@php.net>
Tue, 25 May 2004 22:12:40 +0000 (22:12 +0000)
main/SAPI.c

index 1ab3cc72449045fa442518653414ae1fb1df80e0..7fa56b02bcdfc35242fe8ce5a1dff207e3691447 100644 (file)
@@ -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;