cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: newer gcc -> more sample warnings (@Daniel)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 4 Jul 2012 16:07:48 +0200 (CEST)

On Wed, 4 Jul 2012, Guenter wrote:

> or, maybe verbose:
> + if(res != CURLE_OK)
> + printf("curl_easy_perform() failed: %s\n", curl_easy_strerror(res));

I think this is better, and even shows how to use an additional function so I
think it'd be nice to do.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-04