curl-library
Re: Stream to stdout even using CURL_WRITEFUNCTION
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 7 Oct 2012 23:22:29 +0200 (CEST)
Date: Sun, 7 Oct 2012 23:22:29 +0200 (CEST)
On Sun, 7 Oct 2012, Angelo Di Iorio wrote:
> I got the same content on both sides.
Really. Please STOP the top-posting.
You really can't get the same content on both sides, it is only ever delivered
to a single function from within libcurl. The function pointer libcurl uses
(data->set.fwrite_func) is _either_ pointing to fwrite which may write to
stdout, or it points to your function...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-10-07