curl-library
Re: question regarding CURLOPT_WRITEFUNCTION & CURLOPT_WRITEDATA
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Wed, 22 Oct 2008 11:59:21 +0200
Date: Wed, 22 Oct 2008 11:59:21 +0200
Jan wrote:
> You are right. with fwrite it works, but not with fputs..
Of course it doesn't work with fputs(). You can't use fputs() for binary
data, since it only writes up to the next null byte. Use fwrite() instead.
Linus
Received on 2008-10-22