cvs: php4 /ext/curl interface.c
| From: | Ilia Alshanetsky | Date: | Fri, 09 May 2003 01:10:19 +0000 |
| Subject: | cvs: php4 /ext/curl interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20798@lists.php.net to get a copy of this message | ||
iliaa Thu May 8 21:10:19 2003 EDT
Modified files:
/php4/ext/curl interface.c
Log:
Add missing initialization.
Index: php4/ext/curl/interface.c
diff -u php4/ext/curl/interface.c:1.14 php4/ext/curl/interface.c:1.15
--- php4/ext/curl/interface.c:1.14 Mon Apr 28 06:40:28 2003
+++ php4/ext/curl/interface.c Thu May 8 21:10:18 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interface.c,v 1.14 2003/04/28 10:40:28 derick Exp $ */
+/* $Id: interface.c,v 1.15 2003/05/09 01:10:18 iliaa Exp $ */
#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
@@ -673,6 +673,8 @@
ch->handlers->write->type = PHP_CURL_ASCII;
ch->handlers->read->method = PHP_CURL_DIRECT;
ch->handlers->write_header->method = PHP_CURL_IGNORE;
+
+ ch->uses = 0;
curl_easy_setopt(ch->cp, CURLOPT_NOPROGRESS, 1);
curl_easy_setopt(ch->cp, CURLOPT_VERBOSE, 0);