From: Mikko Koppanen Date: Sat, 26 Dec 2009 14:54:34 +0000 (+0000) Subject: No need to duplicate the string here X-Git-Tag: php-5.4.0alpha1~191^2~2160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1adda4879d41bd7db458801d35a6a65e1e93f84b;p=php No need to duplicate the string here --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index b5fa78baef..ab5fb87ae0 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1691,7 +1691,7 @@ PHP_FUNCTION(stream_resolve_include_path) efree(resolved_path); RETURN_UNICODEL(ustr, ulen, 0); } else { - RETURN_STRINGL(resolved_path, strlen(resolved_path), 1); + RETURN_STRINGL(resolved_path, strlen(resolved_path), 0); } } RETURN_FALSE;