diff options
| author | 2025-05-04 11:05:47 +0200 | |
|---|---|---|
| committer | 2025-05-04 11:05:47 +0200 | |
| commit | 64d99af19ce864ffefec50fcf0d19d2d65411c35 (patch) | |
| tree | d4690836faf6bfe1e11b7e15c5629fe3a5f3491d /xs_curl.h | |
| parent | Preprocess the webmention q_item. (diff) | |
| download | penes-snac2-64d99af19ce864ffefec50fcf0d19d2d65411c35.tar.gz penes-snac2-64d99af19ce864ffefec50fcf0d19d2d65411c35.tar.xz penes-snac2-64d99af19ce864ffefec50fcf0d19d2d65411c35.zip | |
xs_webmention.h new file.
Diffstat (limited to '')
| -rw-r--r-- | xs_curl.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -225,7 +225,7 @@ int xs_smtp_request(const char *url, const char *user, const char *pass, | |||
| 225 | 225 | ||
| 226 | if (use_ssl) | 226 | if (use_ssl) |
| 227 | curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); | 227 | curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); |
| 228 | 228 | ||
| 229 | curl_easy_setopt(curl, CURLOPT_MAIL_FROM, from); | 229 | curl_easy_setopt(curl, CURLOPT_MAIL_FROM, from); |
| 230 | 230 | ||
| 231 | rcpt = curl_slist_append(rcpt, to); | 231 | rcpt = curl_slist_append(rcpt, to); |
| @@ -236,7 +236,7 @@ int xs_smtp_request(const char *url, const char *user, const char *pass, | |||
| 236 | curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); | 236 | curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); |
| 237 | 237 | ||
| 238 | res = curl_easy_perform(curl); | 238 | res = curl_easy_perform(curl); |
| 239 | 239 | ||
| 240 | curl_easy_cleanup(curl); | 240 | curl_easy_cleanup(curl); |
| 241 | curl_slist_free_all(rcpt); | 241 | curl_slist_free_all(rcpt); |
| 242 | 242 | ||