cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: simple.c doesn't work...

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 3 Jul 2009 12:46:58 +0200

On Friday 03 July 2009 12:31:11 gbstack wrote:
> Hi,everyone!
>
> I just compiled the simple.c(an example code of curl
> website:http://curl.haxx.se/lxr/source/docs/examples/simple.c),but when
> I ran it,it didn't work,it didn't display anyting...
>
> what should I do to fix it?
> any suggestion is appreciated.

Try to turn on verbose output:

curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);

Kamil
Received on 2009-07-03