cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with PROGRESSFUNCTION

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Mar 2002 16:04:32 +0100 (MET)

On Mon, 11 Mar 2002 kapheine_at_hypa.net wrote:

> > You should, as otherwise it won't call your progress function... we
> > should probably make that option get set like that automaticly when
> > PROGRESSFUNCTION is set...
>
> Wow, thanks a lot, that seemed to work. I didn't think to try it because
> for some reason I assumed it automatically went over the default progress
> function. I guess the only problem is that in docs/examples/curlgtk.c it
> doesnt' call CURLOPT_NOPROGRESS, FALSE. Someone should probalby update the
> example program :P Thanks a lot for your help, I was feeling really stuck.

Right, I updated the curlgtk.c example source just now.

I've also just now made setting the CURLOPT_PROGRESSFUNCTION to NULL restore
the internal progress meter again.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-11