summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:32 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:32 +0000
commita1459f526ca5e2b0feb1c504814756e9bf2f5c31 (patch)
treea8273fdca84cc13de3b64323d6dbb5cbf2ad0bca /methods
parent2553a569fc0cc294e40ae6ddc0197ba1eeea549a (diff)
Fixed could not connect problem
Author: jgg Date: 1999-01-28 06:32:31 GMT Fixed could not connect problem
Diffstat (limited to 'methods')
-rw-r--r--methods/http.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 79d35f65f..ceb2cea14 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: http.cc,v 1.22 1999/01/20 04:36:43 jgg Exp $
+// $Id: http.cc,v 1.23 1999/01/28 06:32:31 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
@@ -1021,6 +1021,8 @@ int HttpMethod::Loop()
if (Server->Open() == false)
{
Fail();
+ delete Server;
+ Server = 0;
continue;
}