aboutsummaryrefslogtreecommitdiff
path: root/xs_curl.h
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-05-04 11:05:47 +0200
committergrunfink <grunfink@comam.es>2025-05-04 11:05:47 +0200
commit64d99af19ce864ffefec50fcf0d19d2d65411c35 (patch)
treed4690836faf6bfe1e11b7e15c5629fe3a5f3491d /xs_curl.h
parentbca51ef5ba10fc38d804d5d83f26575e02190663 (diff)
xs_webmention.h new file.
Diffstat (limited to 'xs_curl.h')
-rw-r--r--xs_curl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_curl.h b/xs_curl.h
index ac543b1..2301661 100644
--- a/xs_curl.h
+++ b/xs_curl.h
@@ -225,7 +225,7 @@ int xs_smtp_request(const char *url, const char *user, const char *pass,
if (use_ssl)
curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL);
-
+
curl_easy_setopt(curl, CURLOPT_MAIL_FROM, from);
rcpt = curl_slist_append(rcpt, to);
@@ -236,7 +236,7 @@ int xs_smtp_request(const char *url, const char *user, const char *pass,
curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
res = curl_easy_perform(curl);
-
+
curl_easy_cleanup(curl);
curl_slist_free_all(rcpt);