From 2ef3bb9cb8d24b9c71d399020c3d2924624deb61 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Fri, 14 Jul 2006 22:24:07 +0000 Subject: [PATCH] Logic fix: (!a == b) != (a != b) --- main/streams/unicode_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/streams/unicode_filter.c b/main/streams/unicode_filter.c index 1f39f8b86a..b4c886a114 100644 --- a/main/streams/unicode_filter.c +++ b/main/streams/unicode_filter.c @@ -56,7 +56,7 @@ static php_stream_filter_status_t php_unicode_to_string_filter( UChar *src = bucket->buf.u; php_stream_bucket_unlink(bucket TSRMLS_CC); - if (!bucket->buf_type == IS_UNICODE) { + if (bucket->buf_type != IS_UNICODE) { /* Already ASCII, can't really do anything with it */ consumed += bucket->buflen; php_stream_bucket_append(buckets_out, bucket TSRMLS_CC); -- 2.40.0