|
|
@@ -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;
|
|
|
}
|