aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-06-16 13:17:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-06-16 13:17:07 +0000
commitfb9c5650ceffad60e9e396ee4798d2467139efd4 (patch)
treefb6ef7d871019e4a6e1c9b47f1e646c732f6e2b8 /lib
parent94deff653be5d9f540069d0c59f0e22d37eca50c (diff)
progress.mode replaced with progress.callback
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c4
1 files changed, 1 insertions, 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 *);