From: Steve Holme Date: Sun, 12 Jan 2014 15:44:51 +0000 (+0000) Subject: examples: Updated SMTP MAIL example to return libcurl result code X-Git-Tag: curl-7_35_0~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e473a4d2f3f77a387f8fde508033eb939ec9ddae;p=curl examples: Updated SMTP MAIL example to return libcurl result code --- 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; }