summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:20 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:20 +0000
commit9505213b4c7a4058ca353dd84db45abcfd47641a (patch)
tree777fd4407297b22fd8ce9fbb5c4f56df9cd61e33 /methods/http.cc
parent470773ca75ff6883599e9439c703f3aec43b616c (diff)
Better handling of missing services
Author: jgg Date: 1999-07-18 23:06:56 GMT Better handling of missing services
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 0a7f04a4f..0c44ea461 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: http.cc,v 1.35 1999/06/05 07:30:18 jgg Exp $
+// $Id: http.cc,v 1.36 1999/07/18 23:06:56 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
@@ -305,7 +305,7 @@ bool ServerState::Open()
}
// Connect to the remote server
- if (Connect(Host,Port,"http",ServerFd,TimeOut,Owner) == false)
+ if (Connect(Host,Port,"http",80,ServerFd,TimeOut,Owner) == false)
return false;
return true;