commit 540adbb8fd8cf250628dfbb772cb714ba2626332
Author: Oswald Buddenhagen <[email protected]>
Date: Sun Dec 1 17:57:33 2013 +0100
make host resolution error messages more useful in non-ipv6 builds
src/socket.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/socket.c b/src/socket.c
index 07d9bb7..26249cd 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -369,7 +369,7 @@ socket_connect( conn_t *sock, void (*cb)( int ok, void *aux
) )
infon( "Resolving %s... ", conf->host );
he = gethostbyname( conf->host );
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 );
return;
}
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel