From d06c2d9eb1ffe18d5a01cc8daf497daf89deed7b Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Tue, 15 Aug 2000 16:54:48 +0000 Subject: [PATCH] Add Win32 support for cURL. # Switch this commit message with the last one and you get the # right commit order. --- ext/curl/curl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ext/curl/curl.c b/ext/curl/curl.c index ca36924819..0748027f90 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -86,7 +86,7 @@ zend_module_entry curl_module_entry = { curl_functions, PHP_MINIT(curl), PHP_MSHUTDOWN(curl), - NULL, + PHP_RINIT(curl), NULL, PHP_MINFO(curl), STANDARD_MODULE_PROPERTIES @@ -211,6 +211,11 @@ PHP_MINIT_FUNCTION(curl) return SUCCESS; } +PHP_RINIT_FUNCTION(curl) +{ + CURLG(use_file) = 0; +} + PHP_MSHUTDOWN_FUNCTION(curl) { win32_cleanup(); -- 2.50.1