From e473a4d2f3f77a387f8fde508033eb939ec9ddae Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 12 Jan 2014 15:44:51 +0000 Subject: [PATCH] examples: Updated SMTP MAIL example to return libcurl result code --- docs/examples/smtp-mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/smtp-mail.c b/docs/examples/smtp-mail.c index ed9524e87..af4d1b65b 100644 --- a/docs/examples/smtp-mail.c +++ b/docs/examples/smtp-mail.c @@ -133,5 +133,5 @@ int main(void) curl_easy_cleanup(curl); } - return 0; + return (int)res; }