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