From bcef2d4a3343cb5c27589a88fa52a8e686d6e81b Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 10 Aug 2006 17:46:43 +0000 Subject: Fixed typo --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index bb4de137ef..c0c3a7dcfe 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1621,7 +1621,7 @@ PHP_FUNCTION(stripos) 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; } -- cgit v1.2.1