- use Errno() instead of strerror(), thanks to David Kalnischk
- fix test now that #1098752 is fixed
* po/{ca,cs,ru}.po:
- fix merge artifact
+
+ [ Michael Vogt ]
+ * methods/connect.cc:
+ - use Errno() instead of strerror(), thanks to David Kalnischk
-- Christian Perrier <bubulle@debian.org> Sun, 24 Mar 2013 08:57:45 +0100
Host.c_str());
}
if (Res == EAI_SYSTEM)
- return _error->Error(_("System error resolving '%s:%s' (%s)"),
- Host.c_str(),ServStr,strerror(errno));
+ return _error->Errno("getaddrinfo", _("System error resolving '%s:%s'"),
+ Host.c_str(),ServStr);
return _error->Error(_("Something wicked happened resolving '%s:%s' (%i - %s)"),
Host.c_str(),ServStr,Res,gai_strerror(Res));
}