From e55624728104c519d37243c22ac79cdf57313199 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 11 Nov 2005 16:51:24 +0000 Subject: [PATCH] - Use the const instead of hard coding --- ext/standard/php_fopen_wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index 9cb2e8fe70a..ef78446d416 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -169,11 +169,11 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch return NULL; } } - return php_stream_temp_create(0, max_memory); + return php_stream_temp_create(TEMP_STREAM_DEFAULT, max_memory); } if (!strcasecmp(path, "memory")) { - return php_stream_memory_create(0); + return php_stream_memory_create(TEMP_STREAM_DEFAULT); } if (!strcasecmp(path, "output")) {