diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-12-10 20:48:36 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-12-10 20:48:36 +0100 |
commit | 3e2f480d7ad43f565bf2253fc598c2b80a22560f (patch) | |
tree | 9328c276084c60db8bcea258b35c9d69e9da4a3b /methods/connect.cc | |
parent | fb3dc57975989a6514577569af9171732b7c5403 (diff) | |
parent | 944b2fffc4a54fbf9329faa579592cc758915a99 (diff) |
merged -r1887..1901 from lp:~donkult/apt/sid
Diffstat (limited to 'methods/connect.cc')
-rw-r--r-- | methods/connect.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/connect.cc b/methods/connect.cc index b5f48907e..74e670ebd 100644 --- a/methods/connect.cc +++ b/methods/connect.cc @@ -190,8 +190,8 @@ bool Connect(string Host,int Port,const char *Service,int DefPort,int &Fd, return _error->Error(_("Temporary failure resolving '%s'"), Host.c_str()); } - return _error->Error(_("Something wicked happened resolving '%s:%s' (%i)"), - Host.c_str(),ServStr,Res); + return _error->Error(_("Something wicked happened resolving '%s:%s' (%i - %s)"), + Host.c_str(),ServStr,Res,gai_strerror(Res)); } break; } |