iliaa Thu Aug 10 17:46:43 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/standard string.c Log: Fixed typo http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.15&r2=1.445.2.16&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.445.2.15 php-src/ext/standard/string.c:1.445.2.16 --- php-src/ext/standard/string.c:1.445.2.15 Thu Aug 10 17:16:35 2006 +++ php-src/ext/standard/string.c Thu Aug 10 17:46:43 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.445.2.15 2006/08/10 17:16:35 iliaa Exp $ */ +/* $Id: string.c,v 1.445.2.16 2006/08/10 17:46:43 iliaa Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -1621,7 +1621,7 @@ php_strtolower(haystack_dup, haystack_len); if (Z_TYPE_P(needle) == IS_STRING) { - if ((Z_STRLEN_P(needle) == 0 || Z_STRLEN_P(needle) > haystack_len) { + if (Z_STRLEN_P(needle) == 0 || Z_STRLEN_P(needle) > haystack_len) { efree(haystack_dup); RETURN_FALSE; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php