]> git.saurik.com Git - apt.git/commitdiff
Fixed could not connect problem
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:52:32 +0000 (16:52 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:52:32 +0000 (16:52 +0000)
Author: jgg
Date: 1999-01-28 06:32:31 GMT
Fixed could not connect problem

methods/http.cc

index 79d35f65ffa1f3e95dd34c1cc947449f5c506394..ceb2cea145ab47a358cd594d0d411fb4355fffb1 100644 (file)
@@ -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;
       }