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

Reply via email to