Browse Source

break is better

PHP-5.0
Stefan Esser 22 years ago
parent
commit
7dc95709c8
  1. 2
      main/SAPI.c

2
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;

Loading…
Cancel
Save