cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: strtoll patch

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Fri, 23 Jan 2004 00:33:24 +0100

> ftp://ftp.ncbi.nih.gov/blast/db/FASTA/nt.gz

Some problems still; max5data() is wrapping around 2^31 giving
negative results:

< 150 Opening BINARY mode data connection for nt.gz (2876516042 bytes)
* Connection accepted from server
* Getting file with size: -1418451254
  % Total % Received % Xferd Average Speed Time Curr.
                                 Dload Upload Total Current Left Speed
  0 -2048M 0 1356k 0 0 102k 0 7:38:29 0:00:13 7:38:16 131k 436

I don't understand the use of "%Od" in infof() and failf(). These calls
vsnprintf(). Shouldn't curl_mvsnprintf() be used instead?

--gv

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-23