aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-28 22:26:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-28 22:26:47 +0000
commit2576ac1c76953e573668f8f016f822bc2f2403f6 (patch)
treef84deb90042e3aa0cbe0f238b8fda8293a932bcb /lib
parentbfeea8e6b72208c04f3f577852587a33fad82c82 (diff)
Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakingly
enable the progress meter.
Diffstat (limited to 'lib')
-rw-r--r--lib/easy.c2
1 files changed, 2 insertions, 0 deletions
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 <curl/mprintf.h>
@@ -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;