diff options
author | Sterling Hughes <sterling@php.net> | 2000-08-15 16:54:48 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2000-08-15 16:54:48 +0000 |
commit | d06c2d9eb1ffe18d5a01cc8daf497daf89deed7b (patch) | |
tree | 7de6f06aae788ffa41fcd3c7a9bc87758f65bc09 | |
parent | d06c4b2e3fe9d07770a6093c6149de41d4d2534d (diff) | |
download | php-git-d06c2d9eb1ffe18d5a01cc8daf497daf89deed7b.tar.gz |
Add Win32 support for cURL.
# Switch this commit message with the last one and you get the
# right commit order.
-rw-r--r-- | ext/curl/curl.c | 7 |
1 files changed, 6 insertions, 1 deletions
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(); |