cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET