snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 97e040e0487cf3b23bc1109f10752410b838c8c8
parent d8b799195035f8444d8d0be1a1c0f08719ae84bd
Author: default <nobody@localhost>
Date:   Sat, 17 Dec 2022 18:52:57 +0100

Backport from xs.

Diffstat:
Mxs_curl.h | 2++
Mxs_version.h | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/xs_curl.h b/xs_curl.h @@ -101,7 +101,9 @@ d_char *xs_http_request(char *method, char *url, d_char *headers, curl_easy_setopt(curl, CURLOPT_URL, url); +#ifdef FORCE_TIMEOUT curl_easy_setopt(curl, CURLOPT_TIMEOUT, 5L); +#endif #ifdef FORCE_HTTP_1_1 /* force HTTP/1.1 */ diff --git a/xs_version.h b/xs_version.h @@ -1 +1 @@ -/* 033e3f6bbc0823b534d8a5f6887f54576fde1b86 */ +/* ae969c59232f4907369f10b84796456388fcf109 */