From 1adda4879d41bd7db458801d35a6a65e1e93f84b Mon Sep 17 00:00:00 2001 From: Mikko Koppanen Date: Sat, 26 Dec 2009 14:54:34 +0000 Subject: [PATCH] No need to duplicate the string here --- ext/standard/streamsfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1