cvs: php4 /ext/curl curl.c
| From: | Sterling Hughes | Date: | Tue, 15 Aug 2000 16:54:48 +0000 |
| Subject: | cvs: php4 /ext/curl curl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1189@lists.php.net to get a copy of this message | ||
sterling Tue Aug 15 09:54:48 2000 EDT
Modified files:
/php4/ext/curl curl.c
Log:
Add Win32 support for cURL.
# Switch this commit message with the last one and you get the
# right commit order.
Index: php4/ext/curl/curl.c
diff -u php4/ext/curl/curl.c:1.6 php4/ext/curl/curl.c:1.7
--- php4/ext/curl/curl.c:1.6 Tue Aug 15 09:50:14 2000
+++ php4/ext/curl/curl.c Tue Aug 15 09:54:48 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: curl.c,v 1.6 2000/08/15 16:50:14 sterling Exp $ */
+/* $Id: curl.c,v 1.7 2000/08/15 16:54:48 sterling Exp $ */
#include "php.h"
@@ -86,8 +86,8 @@
curl_functions,
PHP_MINIT(curl),
PHP_MSHUTDOWN(curl),
+ PHP_RINIT(curl),
NULL,
- NULL,
PHP_MINFO(curl),
STANDARD_MODULE_PROPERTIES
};
@@ -209,6 +209,11 @@
return FAILURE;
return SUCCESS;
+}
+
+PHP_RINIT_FUNCTION(curl)
+{
+ CURLG(use_file) = 0;
}
PHP_MSHUTDOWN_FUNCTION(curl)