summaryrefslogtreecommitdiff
path: root/ext/curl/curl.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-11-13 10:59:15 +0000
committerSterling Hughes <sterling@php.net>2001-11-13 10:59:15 +0000
commit5fc1552c04dd76863efdbd830da4328f0efedf30 (patch)
tree452d9604dde46075ad4f2b01f7788a4d59fb8290 /ext/curl/curl.c
parent3ca8006a8d7bcdeb6f0e8021521ee72ed0edebc4 (diff)
downloadphp-git-5fc1552c04dd76863efdbd830da4328f0efedf30.tar.gz
"Fix" last commit, to compile cURL with SSL support you must also use the
OpenSSL extension -- sorry... The last commit caused bad things to happen if you were compiling cURL and PHP on Win32 or if you compiled PHP --with-openssl, ie, re-initializing things that were already initialized
Diffstat (limited to 'ext/curl/curl.c')
-rw-r--r--ext/curl/curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/curl.c b/ext/curl/curl.c
index 2b29ba042d..cf88a2c7ff 100644
--- a/ext/curl/curl.c
+++ b/ext/curl/curl.c
@@ -254,7 +254,7 @@ PHP_MINIT_FUNCTION(curl)
REGISTER_CURL_CONSTANT(CURLE_OBSOLETE);
REGISTER_CURL_CONSTANT(CURLE_SSL_PEER_CERTIFICATE);
- if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
+ if (curl_global_init(CURL_GLOBAL_NOTHING) != CURLE_OK) {
return FAILURE;
}