cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Output traces

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 4 Dec 2000 10:42:33 +0100 (MET)

On Mon, 4 Dec 2000, Bescon, Guenole wrote:

(redirected to the libcurl list)

> When I do a post with the following options:
>
> curl_easy_setopt(mySession, CURLOPT_URL, myURL);
> curl_easy_setopt(mySession, CURLOPT_POST);

This line lacks a parameter, it should be something like:

  curl_easy_setopt(mySession, CURLOPT_POST, TRUE);

... you should also use the *_POSTFIELDS option I guess.

> curl_easy_setopt(mySession, CURLOPT_NOPROGRESS);

And this lacks a parameter as well:

  curl_easy_setopt(mySession, CURLOPT_NOPROGRESS, TRUE);

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/curl-library
Received on 2000-12-04