cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: known problem with write progress callback?

From: Brian Dessent <brian_at_dessent.net>
Date: Wed, 30 Jan 2008 06:19:54 -0800

"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
Received on 2008-01-30