diff options
author | bubulle@debian.org <> | 2007-07-15 08:17:44 +0200 |
---|---|---|
committer | bubulle@debian.org <> | 2007-07-15 08:17:44 +0200 |
commit | 5ffd03998b01c174298ddb3f2f914f59bdee7481 (patch) | |
tree | 053148d6cef4f862101f30de584cae0bb5048757 /methods/https.cc | |
parent | d59821362ed1032920a72d3795176cccadaea6b0 (diff) | |
parent | 82d0afc286514bbe8904c3436bb6580aeaa6ad66 (diff) |
Sync with Michael
Diffstat (limited to 'methods/https.cc')
-rw-r--r-- | methods/https.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/methods/https.cc b/methods/https.cc index b758e4ab3..d48ac97fb 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -3,7 +3,7 @@ // $Id: http.cc,v 1.59 2004/05/08 19:42:35 mdz Exp $ /* ###################################################################### - HTTPS Aquire Method - This is the HTTPS aquire method for APT. + HTTPS Acquire Method - This is the HTTPS aquire method for APT. It uses libcurl @@ -50,13 +50,13 @@ HttpsMethod::progress_callback(void *clientp, double dltotal, double dlnow, { HttpsMethod *me = (HttpsMethod *)clientp; if(dltotal > 0 && me->Res.Size == 0) { - me->Res.Size = dltotal; + me->Res.Size = (unsigned long)dltotal; me->URIStart(me->Res); } return 0; } -bool HttpsMethod::SetupProxy() +void HttpsMethod::SetupProxy() { URI ServerName = Queue->Uri; @@ -84,7 +84,6 @@ bool HttpsMethod::SetupProxy() } // Determine what host and port to use based on the proxy settings - int Port = 0; string Host; if (Proxy.empty() == true || Proxy.Host.empty() == true) { |