cURL / Mailing Lists / curl-users / Single Mail

curl-users

CURLINFO_SIZE_DOWNLOAD documentation tip

From: Juan F. Codagnone <juam_at_users.sourceforge.net>
Date: Thu, 10 Apr 2003 02:15:52 -0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi list,

in curl_easy_getinfo(3), CURLINFO_SIZE_DOWNLOAD (and friend) is documented as
"... Pass a pointer to a double to receive the total
               amount of bytes that were downloaded...."

at the first time i thought that the valuo would be the one for the whole
session of the CURL * descriptor, but after running several times the
program, i came to the conclution that it was the amount of bytes of the last
download. the description section, didn't help much.

Best wishes,
        Juan.

- --
Buenos Aires, Argentina 14°C with winds at 5 km/h SW
-----BEGIN PGP SIGNATURE-----

iD8DBQE+lP4PUMlRieHkprgRAlJZAJ9PeXE5/cnbHlzPRKhGCuUieoBIjgCgpMUU
uO4HjAs8LvDhZtw9gaJ+xDI=
=xYWv
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
Received on 2003-04-10