From fb9c5650ceffad60e9e396ee4798d2467139efd4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Jun 2000 13:17:07 +0000 Subject: progress.mode replaced with progress.callback --- lib/url.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/url.c b/lib/url.c index 9b844eda8..6da761b22 100644 --- a/lib/url.c +++ b/lib/url.c @@ -417,9 +417,6 @@ CURLcode curl_setopt(CURL *curl, CURLoption option, ...) case CURLOPT_POSTFIELDS: data->postfields = va_arg(param, char *); break; - case CURLOPT_PROGRESSMODE: - data->progress.mode = va_arg(param, long); - break; case CURLOPT_REFERER: data->referer = va_arg(param, char *); data->bits.http_set_referer = (data->referer && *data->referer)?1:0; @@ -448,6 +445,7 @@ CURLcode curl_setopt(CURL *curl, CURLoption option, ...) break; case CURLOPT_PROGRESSFUNCTION: data->fprogress = va_arg(param, curl_progress_callback); + data->progress.callback = TRUE; /* no longer internal */ break; case CURLOPT_PROGRESSDATA: data->progress_client = va_arg(param, void *); -- cgit v1.2.3