cvs: /php4/ext/standard output.c

From: Date: Sat, 15 Jan 2000 17:23:48 +0000
Subject: cvs: /php4/ext/standard output.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-9150@lists.php.net to get a copy of this message
zeev Sat Jan 15 09:23:48 2000 EDT Modified files: /php4/ext/standard output.c Log: Fix logic Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.13 php4/ext/standard/output.c:1.14 --- php4/ext/standard/output.c:1.13 Sat Jan 15 09:16:21 2000 +++ php4/ext/standard/output.c Sat Jan 15 09:23:18 2000 @@ -396,7 +396,7 @@ PHP_FUNCTION(ob_implicit_flush) { zval **zv_flag; - int flag = 0; + int flag; switch(ZEND_NUM_ARGS()) { case 0: @@ -408,6 +408,9 @@ } convert_to_long_ex(zv_flag); flag = (*zv_flag)->value.lval; + break; + default: + WRONG_PARAM_COUNT; break; } if (flag) {

« previous php.version4 (#9150) next »