summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-02-09 09:48:57 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-02-09 09:48:57 +0100
commit96ecfdd9d16a00e39ff8acac870cefff7ec48afb (patch)
treea9a90611e04c74d3c1585d0a589613732e42b496 /src
parent4a1f0ef5cce4b07ebf624f8a479100b82d0b1004 (diff)
downloadweechat-96ecfdd9d16a00e39ff8acac870cefff7ec48afb.zip
core: add options "dns_servers" and "accepttimeout_ms" for curl (libcurl >= 7.24.0)
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-url.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/wee-url.c b/src/core/wee-url.c
index 7bed1c49f..a1ae09cd2 100644
--- a/src/core/wee-url.c
+++ b/src/core/wee-url.c
@@ -729,6 +729,11 @@ struct t_url_option url_options[] =
/* libcurl >= 7.21.3 */
/*URL_DEF_OPTION(RESOLVE, LIST, NULL),*/
#endif
+#if LIBCURL_VERSION_NUM >= 0x071800
+ /* libcurl >= 7.24.0 */
+ URL_DEF_OPTION(DNS_SERVERS, STRING, NULL),
+ URL_DEF_OPTION(ACCEPTTIMEOUT_MS, LONG, NULL),
+#endif
/*
* SSL and security options
*/