summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2004-05-25 22:12:40 +0000
committerStefan Esser <sesser@php.net>2004-05-25 22:12:40 +0000
commit7dc95709c8b9ce4ccac3fcde9b0062f260ee1fe9 (patch)
tree2ab72937cb3478ea679870deedd969222c9ce290 /main/SAPI.c
parent2e73bbfdc190197a1700deca03ec150d4576337d (diff)
downloadphp-git-7dc95709c8b9ce4ccac3fcde9b0062f260ee1fe9.tar.gz
break is better
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
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;