lbarnaud                Mon Nov 24 19:31:02 2008 UTC

  Modified files:              
    /php-src/ext/standard       string.c 
  Log:
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.685&r2=1.686&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.685 php-src/ext/standard/string.c:1.686
--- php-src/ext/standard/string.c:1.685 Mon Nov 24 19:21:20 2008
+++ php-src/ext/standard/string.c       Mon Nov 24 19:31:02 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.685 2008/11/24 19:21:20 lbarnaud Exp $ */
+/* $Id: string.c,v 1.686 2008/11/24 19:31:02 lbarnaud Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -3986,7 +3986,7 @@
        }
        if (can_optimize) {
                for (i = trlen; i < str_to_len; i++) {
-                       if (str_from[i] > 255) {
+                       if (str_to[i] > 255) {
                                can_optimize = 0;
                                break;
                        }



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

Reply via email to