curl-users
Re: SV: Why is curl_easy_perform() outputting "1" to the console?
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 2 Nov 2007 10:54:27 -0700
Date: Fri, 2 Nov 2007 10:54:27 -0700
On Sat, Nov 03, 2007 at 01:12:11AM +0900, Danielkun wrote:
> Thank you. You're completely right. I'm not really sure what I was thinking
> there. But what if I don't need any output at all? I'm using cURL to post
> some data and I don't need the result that the server returns.
Either install a dummy write callback handler that throws away the data
using CURLOPT_WRITEFUNCTION, or open up /dev/null and pass the FILE pointer
to CURLOPT_WRITEDATA.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-11-02