cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcURL application failed to initialize properly

From: Michael Wood <esiotrot_at_gmail.com>
Date: Wed, 27 Apr 2011 00:27:30 +0200

On 26 April 2011 23:38, Ben Noordhuis <info_at_bnoordhuis.nl> wrote:
> On Tue, Apr 26, 2011 at 23:25, mammar <mammar_at_gmail.com> wrote:
>> #include <stdio.h>
>> #include <curl.h>
>>
>> int main(void)
>> {
>>   CURL *curl;
>>   CURLcode res;
>>
>>   curl = curl_easy_init();
>>   if(curl) {
>>     curl_easy_setopt(curl, CURLOPT_URL, "www.linux.com");

This should be "https://www.linux.com" and not just "www.linux.com".

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-27