curl-library
Re: Problem with CURLOPT_WRITEDATA getting Binary data
From: Tor Arntsen <tor_at_spacetec.no>
Date: Sun, 30 May 2010 16:54:44 +0200
Date: Sun, 30 May 2010 16:54:44 +0200
On Sun, May 30, 2010 at 16:50, Kalidoss Sivasamy <kalidoss2_at_gmail.com> wrote:
> Not really. chunk.memory is a char*.
Yes. And printf "%s", char*) prints to the first \0. You can't use it
to print binary data.
-Tor
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-30