diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-02-05 17:52:28 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-02-05 17:52:28 +0100 |
commit | 59271f62e4a291c8d96e1f6073203c395734b6ca (patch) | |
tree | 114963f118d57bafc02b273dfdb1d4b972527c9a /methods/connect.cc | |
parent | 361593e92a44255cc0ef98417e7457911716cab5 (diff) |
* use pkgAcqMethod::FailReason() for consistent error reporting
Diffstat (limited to 'methods/connect.cc')
-rw-r--r-- | methods/connect.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/connect.cc b/methods/connect.cc index 4e227c3fd..145001fb3 100644 --- a/methods/connect.cc +++ b/methods/connect.cc @@ -163,6 +163,7 @@ bool Connect(string Host,int Port,const char *Service,int DefPort,int &Fd, DefPort = 0; continue; } + Owner->SetFailReason("ResolveFailure"); return _error->Error(_("Could not resolve '%s'"),Host.c_str()); } |