curl-users
[ curl-Bugs-612432 ] CURLOPT_PROGRESSFUNCTION broken in Perl
Date: Sat, 21 Sep 2002 00:22:08 -0700
Bugs item #612432, was opened at 2002-09-21 02:22
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=612432&group_id=976
Category: None
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Dave Huang (dahanc)
Assigned to: Nobody/Anonymous (nobody)
Summary: CURLOPT_PROGRESSFUNCTION broken in Perl
Initial Comment:
The CURLOPT_PROGRESSFUNCTION callback doesn't work
properly in the Perl binding. The curl.h file declares
the progress callback as:
typedef int (*curl_progress_callback)(void *clientp,
double dltotal,
double dlnow,
double ultotal,
double ulnow);
However, the Perl binding's easy.xs declares it as:
static int progress_callback_func(void *clientp, size_t
dltotal, size_t dlnow,
size_t ultotal, size_t ulnow)
Of course, this causes the returned numbers to be
completely incorrect.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=612432&group_id=976
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-21