cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Download a gif

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Feb 2008 10:25:10 +0100 (CET)

On Fri, 15 Feb 2008, Michael Hecker wrote:

> But my char*, which normally contains the html code, contains only
> "GIF89addÄ". Isn't there binary data missing?

Please don't top-post.

If there is data missing, then your write callback might be badly written so
that it doesn't deal with it properly. Binary data cannot be assumed to be
zero byte terminated like "strings" can.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-02-15