cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: how can i use libcurl to connect a https?
I printf("%d\n", ret); it show 1, I found it in curl.h, it mean
2007/9/28, Daniel Stenberg <daniel_at_haxx.se>:
> On Fri, 28 Sep 2007, bit bull wrote:
> > ret = curl_easy_perform(curl);
> > if (ret)
> > printf("%s\n", strerror(ret));
> > after that, I run this program, it show me "Operation not permitted".
> What made you think strerror() can be used on libcurl's return code? You can't
> do it like that.
> Either you output the error number and compare with the header file/man page
> or you use CURLOPT_ERRORBUFFER to get the human readable error string.
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-09-28
These mail archives are generated by hypermail.
Page updated November 12, 2010.
File upload with ASP.NET
web site info