From 582754c0e24c36de3930ca40d99152e811da188b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 14 Feb 2000 23:03:05 +0000 Subject: [PATCH] uses the new progress functions --- lib/url.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index 0443f1608..39046ea37 100644 --- a/lib/url.c +++ b/lib/url.c @@ -392,7 +392,7 @@ UrgError curl_urlget(UrgTag tag, ...) data->postfields = (char *)param_obj; break; case URGTAG_PROGRESSMODE: - data->progressmode = (long)param_long; + data->progress.mode = (long)param_long; break; case URGTAG_REFERER: data->referer = (char *)param_obj; @@ -456,6 +456,8 @@ UrgError curl_urlget(UrgTag tag, ...) va_end(arg); + pgrsMode(data, data->progress.mode); + data-> headerbuff=(char*)malloc(HEADERSIZE); if(!data->headerbuff) return URG_FAILED_INIT;