sesser Tue May 25 18:12:40 2004 EDT
Modified files:
/php-src/main SAPI.c
Log:
break is better
http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.184&r2=1.185&ty=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.184 php-src/main/SAPI.c:1.185
--- php-src/main/SAPI.c:1.184 Thu Mar 25 03:41:59 2004
+++ php-src/main/SAPI.c Tue May 25 18:12:40 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.184 2004/03/25 08:41:59 helly Exp $ */
+/* $Id: SAPI.c,v 1.185 2004/05/25 22:12:40 sesser Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -201,7 +201,7 @@
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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php