tony2001 Fri May 19 10:23:43 2006 UTC
Modified files:
/php-src/main/streams filter.c
Log:
initialize factory
http://cvs.php.net/viewcvs.cgi/php-src/main/streams/filter.c?r1=1.31&r2=1.32&diff_format=u
Index: php-src/main/streams/filter.c
diff -u php-src/main/streams/filter.c:1.31 php-src/main/streams/filter.c:1.32
--- php-src/main/streams/filter.c:1.31 Thu Apr 13 18:14:14 2006
+++ php-src/main/streams/filter.c Fri May 19 10:23:43 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filter.c,v 1.31 2006/04/13 18:14:14 tony2001 Exp $ */
+/* $Id: filter.c,v 1.32 2006/05/19 10:23:43 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -308,7 +308,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