1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Last changes for W32

This commit is contained in:
Werner Koch 2005-02-03 11:16:27 +00:00
parent 907353ed60
commit 57ec15c0bb
5 changed files with 25 additions and 5 deletions

View file

@ -930,13 +930,13 @@ connect_server( const char *server, ushort port, unsigned int flags,
if(!connected)
{
int err=errno;
#ifdef _WIN32
if(hostfound)
log_error("%s: Unable to connect: ec=%d\n",server,(int)WSAGetLastError());
else
log_error("%s: Host not found: ec=%d\n",server,(int)WSAGetLastError());
#else
int err=errno;
if(hostfound)
log_error("%s: %s\n",server,strerror(err));
else