cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
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?

Received on 2009-07-05