aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-31 13:50:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-31 13:50:28 +0000
commitfe82ddda46774d092dcc0ca6460f17f2dea14dd2 (patch)
tree17b268f586eb949d476bf4f531cc0434fd553f43 /lib
parent94af496ac44b092e095790bc95e2edaac9f364e6 (diff)
CURLOPT_MUTE and data->bits.mute are history, removed, gone!
Diffstat (limited to 'lib')
-rw-r--r--lib/sendf.c5
-rw-r--r--lib/url.c4
-rw-r--r--lib/urldata.h1
3 files changed, 3 insertions, 7 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 25ccb926d..4417a888c 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -142,11 +142,6 @@ void Curl_failf(struct UrlData *data, char *fmt, ...)
va_start(ap, fmt);
if(data->errorbuffer)
vsnprintf(data->errorbuffer, CURL_ERROR_SIZE, fmt, ap);
- else if(!data->bits.mute) {
- /* no errorbuffer receives this, write to data->err instead */
- vfprintf(data->err, fmt, ap);
- fprintf(data->err, "\n");
- }
va_end(ap);
}
diff --git a/lib/url.c b/lib/url.c
index 8338af242..17e4549ff 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -232,7 +232,6 @@ CURLcode Curl_open(CURL **curl, char *url)
data->httpreq = HTTPREQ_GET; /* Default HTTP request */
/* make libcurl quiet by default: */
- data->bits.mute = TRUE; /* CURLOPT_MUTE changes this */
data->bits.hide_progress = TRUE; /* CURLOPT_NOPROGRESS changes these */
data->progress.flags |= PGRS_HIDE;
@@ -439,12 +438,15 @@ CURLcode Curl_setopt(CURL *curl, CURLoption option, ...)
if(data->bits.http_put)
data->httpreq = HTTPREQ_PUT;
break;
+#if 0
+ /* obsolete stuff, kept here a while for informational purposes */
case CURLOPT_MUTE:
/*
* Stay absolutely quiet.
*/
data->bits.mute = va_arg(param, long)?TRUE:FALSE;
break;
+#endif
case CURLOPT_TIMECONDITION:
/*
* Set HTTP time condition. This must be one of the defines in the
diff --git a/lib/urldata.h b/lib/urldata.h
index fa9eb793e..18039f176 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -401,7 +401,6 @@ struct Configbits {
bool http_set_referer;
bool http_auto_referer; /* set "correct" referer when following location: */
bool httpproxy;
- bool mute;
bool no_body;
bool set_port;
bool set_range;