cvs: php-src /main/streams filter.c
| From: | Andrei Zmievski | Date: | Fri, 24 Mar 2006 21:25:44 +0000 |
| Subject: | cvs: php-src /main/streams filter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37483@lists.php.net to get a copy of this message | ||
andrei Fri Mar 24 21:25:44 2006 UTC
Modified files:
/php-src/main/streams filter.c
Log:
This is probably not a test..
http://cvs.php.net/viewcvs.cgi/php-src/main/streams/filter.c?r1=1.24&r2=1.25&diff_format=u
Index: php-src/main/streams/filter.c
diff -u php-src/main/streams/filter.c:1.24 php-src/main/streams/filter.c:1.25
--- php-src/main/streams/filter.c:1.24 Fri Mar 24 20:21:48 2006
+++ php-src/main/streams/filter.c Fri Mar 24 21:25:44 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filter.c,v 1.24 2006/03/24 20:21:48 pollita Exp $ */
+/* $Id: filter.c,v 1.25 2006/03/24 21:25:44 andrei Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -738,8 +738,8 @@
if (bucket->own_buf) {
pefree(bucket->buf.s, bucket->is_persistent);
}
- bucket->buf_type == IS_UNICODE;
- bucket->buf.u = (UChar*)"\x00\x00";
+ bucket->buf_type = IS_UNICODE;
+ bucket->buf.u = EMPTY_STR;
bucket->own_buf = 0;
bucket->buflen = 0;
return SUCCESS;