rasmus          Thu May 24 20:54:36 2007 UTC

  Modified files:              (Branch: PHP_4_4)
    /php-src/ext/standard       string.c 
  Log:
  MFB 5_2
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.333.2.52.2.11&r2=1.333.2.52.2.12&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.333.2.52.2.11 
php-src/ext/standard/string.c:1.333.2.52.2.12
--- php-src/ext/standard/string.c:1.333.2.52.2.11       Mon Mar 26 10:28:28 2007
+++ php-src/ext/standard/string.c       Thu May 24 20:54:36 2007
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.333.2.52.2.11 2007/03/26 10:28:28 tony2001 Exp $ */
+/* $Id: string.c,v 1.333.2.52.2.12 2007/05/24 20:54:36 rasmus Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -2375,7 +2375,7 @@
 
        php_charmask(what, wlength, flags TSRMLS_CC);
 
-       for (source = str, end = source+length, target = new_str; (c=*source) 
|| (source < end); source++) {
+       for (source = str, end = source+length, target = new_str; source < end; 
source++) {
                if (flags[(unsigned char)c]) {
                        if ((unsigned char)c<32 || (unsigned char)c>126) {
                                *target++ = '\\';

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

Reply via email to