summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-10-16 15:42:05 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-10-16 15:42:05 +0200
commit1de1f70383ea2d44147ccaceff280fd70faf4c81 (patch)
tree198f17cfbacda989495923a6f34aed64313a86da /methods/https.cc
parent592b78001c381f9cca6f20d8d1d47696bb98c0d1 (diff)
add maybe_add_auth for ftp as well
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc
index a86c78029..075d655b7 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -127,7 +127,7 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
curl_easy_reset(curl);
SetupProxy();
- maybe_add_auth (Uri, _config->FindFile("Dir::ETc::netrc"));
+ maybe_add_auth (Uri, _config->FindFile("Dir::Etc::netrc"));
// callbacks
curl_easy_setopt(curl, CURLOPT_URL, Itm->Uri.c_str());