cvs: php4 /ext/standard streamsfuncs.c
| From: | Sara Golemon | Date: | Fri, 04 Apr 2003 20:43:36 +0000 |
| Subject: | cvs: php4 /ext/standard streamsfuncs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20105@lists.php.net to get a copy of this message | ||
pollita Fri Apr 4 15:43:36 2003 EDT
Modified files:
/php4/ext/standard streamsfuncs.c
Log:
User shouldn't have to initialize this pass-by-ref parameter
Index: php4/ext/standard/streamsfuncs.c
diff -u php4/ext/standard/streamsfuncs.c:1.7 php4/ext/standard/streamsfuncs.c:1.8
--- php4/ext/standard/streamsfuncs.c:1.7 Fri Apr 4 03:57:40 2003
+++ php4/ext/standard/streamsfuncs.c Fri Apr 4 15:43:36 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streamsfuncs.c,v 1.7 2003/04/04 08:57:40 wez Exp $ */
+/* $Id: streamsfuncs.c,v 1.8 2003/04/04 20:43:36 pollita Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -201,7 +201,7 @@
char *errstr = NULL;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|dz!", &zstream,
&timeout, &peername) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|dz", &zstream, &timeout,
&peername) == FAILURE) {
RETURN_FALSE;
}