pollita         Fri Jul 14 22:24:08 2006 UTC

  Modified files:              
    /php-src/main/streams       unicode_filter.c 
  Log:
  Logic fix:  (!a == b) != (a != b)
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/unicode_filter.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/main/streams/unicode_filter.c
diff -u php-src/main/streams/unicode_filter.c:1.2 
php-src/main/streams/unicode_filter.c:1.3
--- php-src/main/streams/unicode_filter.c:1.2   Fri Jul 14 19:15:31 2006
+++ php-src/main/streams/unicode_filter.c       Fri Jul 14 22:24:07 2006
@@ -14,7 +14,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: unicode_filter.c,v 1.2 2006/07/14 19:15:31 pollita Exp $ */
+/* $Id: unicode_filter.c,v 1.3 2006/07/14 22:24:07 pollita Exp $ */
 
 
 #include "php.h"
@@ -56,7 +56,7 @@
                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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to