From 2576ac1c76953e573668f8f016f822bc2f2403f6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 28 Sep 2004 22:26:47 +0000 Subject: Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakingly enable the progress meter. --- lib/easy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/easy.c b/lib/easy.c index 53bd13b93..4782fc459 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -77,6 +77,7 @@ #include "hostip.h" #include "share.h" #include "memory.h" +#include "progress.h" #define _MPRINTF_REPLACE /* use our functions only */ #include @@ -561,6 +562,7 @@ void curl_easy_reset(CURL *curl) /* make libcurl quiet by default: */ data->set.hide_progress = TRUE; /* CURLOPT_NOPROGRESS changes these */ + data->progress.flags |= PGRS_HIDE; /* Set the default size of the SSL session ID cache */ data->set.ssl.numsessions = 5; -- cgit v1.2.3