cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: known problem with write progress callback?

From: Max L. Eidswick <max_at_eidswick.com>
Date: Wed, 30 Jan 2008 09:29:36 -0700

 
Rocky's pictures are now at Rocky.MyRedPawz.com
or join the SettersPhotos-join_at_myredpaw.com discussion.
SetterPhotos list run by listadmin at myredpaw.com
 Delivered by Mailman

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Brian Dessent
Sent: Wednesday, January 30, 2008 7:20 AM
To: libcurl development
Subject: Re: known problem with write progress callback?

"Max L. Eidswick" wrote:

> printf (
> "\rCall count: %d, dltotal: %ld, dlnow: %ld, ultotal: %ld,"
> "ulnow: %ld",
> ++ulCallCount, dltotal, dlnow, ultotal, ulnow ) ;

You can't use %ld to print a double.

Brian

Does the callback always get an output of 'Success'? The 'Success' at the end of the upload seems to be coming from libcurl ...

Max

---- snip

Uploading now:
call#84, dltotal: 0, dlnow: 0, ultotal: 1338672,ulnow: 1338624Success
libcurl sendfile time: 14469 msecs

 ----- End of test of libcurl sendfile ----- Press any key to exit.
Received on 2008-01-30