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);
}
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;
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