curl-library
Re: MinGW: non-zero ultotal passed to XFERINFOFUNCTION
Date: Tue, 2 Dec 2014 19:33:20 +0200
On Tue, Dec 02, 2014 at 01:45:35PM +0200, Mohammad_AlSaleh wrote:
> Hello.
>
> I followed the documentation's recommendation to use
> CURLOPT_XFERINFOFUNCTION instead of CURLOPT_PROGRESSFUNCTION.
>
> Quoting the documentation:
> "Unknown/unused argument values passed to the callback will be set to
> zero"
>
> So, I had checks in place to test the values of ultotal and ulnow.
>
> I built my application with MinGW (32bit) today. And a test run in wine
> shows non-zero values for ultotal. It was a simple HTTP download.
>
> Can anyone confirm this is a (probably harmless) bug in libcurl, and
> not something faulty at my side?
A little update.
It looks like ultotal and dlnow are swapped for some reason. I'll try to
figure out why.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-02