index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2013-12-18 15:24:45 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-12-19 15:17:58 +1000 |
commit | 714609639f9a316e037252d31437505520a7966f (patch) | |
tree | 7b4c22b9bf90b914ab35692e21e7af5a1821b78a /lib/libalpm | |
parent | 9652c27710142e91ca863047832c0796e72380f6 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 1 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index c74d2ad1..d5906a38 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -301,6 +301,7 @@ static void curl_set_handle_opts(struct dload_payload *payload, curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL); curl_easy_setopt(curl, CURLOPT_SOCKOPTFUNCTION, dload_sockopt_cb); curl_easy_setopt(curl, CURLOPT_SOCKOPTDATA, (void *)handle); + curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); _alpm_log(handle, ALPM_LOG_DEBUG, "url: %s\n", payload->fileurl); |