Mercurial > hg > nnchat
diff network.c @ 456:bb65460c7aa2
Clean up some initialization messages.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 26 May 2012 05:20:37 +0300 |
parents | 3be600124da8 |
children | 6eef0dc83f0a |
line wrap: on
line diff
--- a/network.c Sat May 26 05:16:27 2012 +0300 +++ b/network.c Sat May 26 05:20:37 2012 +0300 @@ -93,7 +93,7 @@ { struct hostent *res = gethostbyname(name); if (res == NULL) - nn_conn_err(conn, "Could not resolve hostname: %s\n", strerror(h_errno)); + nn_conn_err(conn, "Could not resolve hostname '%s': %s\n", name, strerror(h_errno)); else nn_conn_msg(conn, "True hostname for %s is %s\n", name, res->h_name);