mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:17:30 +03:00
examples: Updated SMTP MAIL example to return libcurl result code
This commit is contained in:
parent
7e85964080
commit
e473a4d2f3
1 changed files with 1 additions and 1 deletions
|
|
@ -133,5 +133,5 @@ int main(void)
|
|||
curl_easy_cleanup(curl);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return (int)res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue