cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: fopen() download file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Aug 2009 15:50:59 +0200 (CEST)

On Fri, 14 Aug 2009, Denis Bondarev wrote:

> static size_t Writer(char *data, size_t size, size_t nmemb, WideString
> *buffer)
> {

> buffer->Insert(data,buffer->Length()+1);

... this can't work right. 'data' has a length that is size * nmemb, but this
Insert() function seems to magically (not) figure that out...

-- 
  / daniel.haxx.se
Received on 2009-08-14