Преглед изворни кода

Fixed could not connect problem
Author: jgg
Date: 1999-01-28 06:32:31 GMT
Fixed could not connect problem

Arch Librarian пре 22 година
родитељ
комит
a1459f526c
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      methods/http.cc

+ 3 - 1
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;
       }