cURL / Mailing Lists / curl-library / Single Mail

curl-library

MinGW: non-zero ultotal passed to XFERINFOFUNCTION

From: Mohammad_AlSaleh <ce.mohammad.alsaleh_at_gmail.com>
Date: Tue, 2 Dec 2014 13:45:35 +0200

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?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-02