diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-01-12 15:44:51 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-01-12 15:55:08 +0000 |
commit | e473a4d2f3f77a387f8fde508033eb939ec9ddae (patch) | |
tree | f2e836368425c6d4881a97da62e88cf73b2dd1f3 /docs | |
parent | 7e8596408042611d70aa073ed4b577446ffc7a03 (diff) |
examples: Updated SMTP MAIL example to return libcurl result code
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/smtp-mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |