cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: max download/upload speed setting (libcurl, Delphi)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 5 Jul 2009 15:54:59 +0200 (CEST)

On Sun, 5 Jul 2009, :) wrote:

> off_t = longint;
> pcurl_off_t=^curl_off_t;
> curl_off_t=off_t; <---- this might be a problem?

This is clearly not a wise idea.

libcurl works hard to provide an accurate curl_off_t type in its headers, and
here you go overriding that. Chances are you will do a wrong decision and then
of course libcurl won't work as expected.

Why are you making up your own type?

-- 
  / daniel.haxx.se
Received on 2009-07-05