cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl silent options

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Mar 2001 13:42:42 +0100 (MET)

On Tue, 13 Mar 2001, Bescon, Guenole wrote:

> To avoid inopportune messages to be displayed by the curl library, I've
> set the following options:
>
> myCode = curl_easy_setopt(mySession, CURLOPT_STDERR, myNullFile);
> myCode = curl_easy_setopt(mySession, CURLOPT_FAILONERROR, 1);
> myCode = curl_easy_setopt(mySession, CURLOPT_NOPROGRESS, 1);
> myCode = curl_easy_setopt(mySession, CURLOPT_MUTE, 1);
>
> Is it the right way to do that ?

Yes.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-03-13