From a1459f526ca5e2b0feb1c504814756e9bf2f5c31 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:52:32 +0000 Subject: Fixed could not connect problem Author: jgg Date: 1999-01-28 06:32:31 GMT Fixed could not connect problem --- methods/http.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3