tony2001 Fri May 19 10:24:19 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/main/streams filter.c
Log:
MFH: initialize factory
http://cvs.php.net/viewcvs.cgi/php-src/main/streams/filter.c?r1=1.17.2.3&r2=1.17.2.4&diff_format=u
Index: php-src/main/streams/filter.c
diff -u php-src/main/streams/filter.c:1.17.2.3
php-src/main/streams/filter.c:1.17.2.4
--- php-src/main/streams/filter.c:1.17.2.3 Sun Feb 26 10:49:51 2006
+++ php-src/main/streams/filter.c Fri May 19 10:24:19 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filter.c,v 1.17.2.3 2006/02/26 10:49:51 helly Exp $ */
+/* $Id: filter.c,v 1.17.2.4 2006/05/19 10:24:19 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -251,7 +251,7 @@
PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername,
zval *filterparams, int persistent TSRMLS_DC)
{
HashTable *filter_hash = (FG(stream_filters) ? FG(stream_filters) :
&stream_filters_hash);
- php_stream_filter_factory *factory;
+ php_stream_filter_factory *factory = NULL;
php_stream_filter *filter = NULL;
int n;
char *period;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php