commit c19facda6df50d13f7fd4d10b66ac6b00b9ba891
parent 031ad564c89d01fcd1f70e4f0d1bc2324275798a
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Sat, 25 Oct 2014 00:57:43 +0200
RSSyl: Allow use of .netrc by libcurl. Bug/enhancement #3309, by Vincent Pelletier
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/plugins/rssyl/libfeed/feed.c b/src/plugins/rssyl/libfeed/feed.c
@@ -250,6 +250,7 @@ guint feed_update(Feed *feed, time_t last_update)
curl_easy_setopt(eh, CURLOPT_NOSIGNAL, 1);
curl_easy_setopt(eh, CURLOPT_ENCODING, "");
curl_easy_setopt(eh, CURLOPT_USERAGENT, "libfeed 0.1");
+ curl_easy_setopt(eh, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
/* Use HTTP's If-Modified-Since feature, if application provided
* the timestamp of last update. */