Browse Source

make host resolution error messages more useful in non-ipv6 builds

wip/maildir-uid-dupes-test
Oswald Buddenhagen 11 years ago
parent
commit
540adbb8fd
  1. 2
      src/socket.c

2
src/socket.c

@ -369,7 +369,7 @@ socket_connect( conn_t *sock, void (*cb)( int ok, void *aux ) )
infon( "Resolving %s... ", conf->host ); infon( "Resolving %s... ", conf->host );
he = gethostbyname( conf->host ); he = gethostbyname( conf->host );
if (!he) { if (!he) {
error( "IMAP error: Cannot resolve server '%s'\n", conf->host ); error( "IMAP error: Cannot resolve server '%s': %s\n", conf->host, hstrerror( h_errno ) );
socket_connect_bail( sock ); socket_connect_bail( sock );
return; return;
} }

Loading…
Cancel
Save