diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-01-05 11:55:10 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-01-05 12:05:02 +0000 |
commit | 5be92d03b05ca68651fc9240beb7bb0f91ab99c5 (patch) | |
tree | 0a9adb2fb7c49a17fd5c8db67636b8e31e606e23 /docs/examples | |
parent | 3bc349b53bc5fe3561b0bef8350c55fb9cb237a2 (diff) |
examples: Added return of error code in POP3 examples
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/pop3-list.c | 2 | ||||
-rw-r--r-- | docs/examples/pop3-ssl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/pop3-list.c b/docs/examples/pop3-list.c index 7e76d1ea0..aebcea6b6 100644 --- a/docs/examples/pop3-list.c +++ b/docs/examples/pop3-list.c @@ -54,5 +54,5 @@ int main(void) curl_easy_cleanup(curl); } - return 0; + return (int)res; } diff --git a/docs/examples/pop3-ssl.c b/docs/examples/pop3-ssl.c index cfdec10ec..5a20e3c07 100644 --- a/docs/examples/pop3-ssl.c +++ b/docs/examples/pop3-ssl.c @@ -75,5 +75,5 @@ int main(void) curl_easy_cleanup(curl); } - return 0; + return (int)res; } |