cvs: php4 /ext/curl curl.c
| From: | Sterling Hughes | Date: | Tue, 13 Nov 2001 10:59:15 +0000 |
| Subject: | cvs: php4 /ext/curl curl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8173@lists.php.net to get a copy of this message | ||
sterling Tue Nov 13 05:59:15 2001 EDT
Modified files:
/php4/ext/curl curl.c
Log:
"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
Index: php4/ext/curl/curl.c
diff -u php4/ext/curl/curl.c:1.95 php4/ext/curl/curl.c:1.96
--- php4/ext/curl/curl.c:1.95 Mon Nov 12 20:01:47 2001
+++ php4/ext/curl/curl.c Tue Nov 13 05:59:15 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: curl.c,v 1.95 2001/11/13 01:01:47 zeev Exp $ */
+/* $Id: curl.c,v 1.96 2001/11/13 10:59:15 sterling Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -254,7 +254,7 @@
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;
}