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:
parent
907353ed60
commit
57ec15c0bb
5 changed files with 25 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue