diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-06-16 13:17:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-06-16 13:17:07 +0000 |
commit | fb9c5650ceffad60e9e396ee4798d2467139efd4 (patch) | |
tree | fb6ef7d871019e4a6e1c9b47f1e646c732f6e2b8 | |
parent | 94deff653be5d9f540069d0c59f0e22d37eca50c (diff) |
progress.mode replaced with progress.callback
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 *); |