diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:45 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:45 +0000 |
commit | 52e7839aec2f1e1f54dcffbe76836b3ad17c8784 (patch) | |
tree | 357bf6a6d7530daddf4bcb794d26eeee0f717230 | |
parent | 3b7525a6014be89a1edc90bfc8e801d51bd408a7 (diff) |
Fixed http segfault
Author: jgg
Date: 1998-11-28 20:50:10 GMT
Fixed http segfault
-rw-r--r-- | methods/http.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/http.cc b/methods/http.cc index be7e8610a..29982e2d0 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: http.cc,v 1.7 1998/11/23 21:28:43 jgg Exp $ +// $Id: http.cc,v 1.8 1998/11/28 20:50:10 jgg Exp $ /* ###################################################################### HTTP Aquire Method - This is the HTTP aquire method for APT. @@ -267,7 +267,7 @@ bool ServerState::Open() Out.Reset(); // Determine the proxy setting - if (getenv("http_proxy") != 0) + if (getenv("http_proxy") == 0) { string DefProxy = _config->Find("Acquire::http::Proxy"); string SpecificProxy = _config->Find("Acquire::http::Proxy::" + ServerName.Host); |