aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/smtp-mail.c2
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;
}