]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Fri, 9 May 2003 01:10:24 +0000 (01:10 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 9 May 2003 01:10:24 +0000 (01:10 +0000)
ext/curl/curl.c

index d0e1244fa1c83e0ebd35297887634f3438fb7c0f..06b8b75e7821926a53c8f3bc2afc375f45a844ec 100644 (file)
@@ -632,6 +632,8 @@ PHP_FUNCTION(curl_init)
        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);
        curl_easy_setopt(ch->cp, CURLOPT_ERRORBUFFER,       ch->err.str);