Mercurial > hg > nnchat
diff main.c @ 456:bb65460c7aa2
Clean up some initialization messages.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 26 May 2012 05:20:37 +0300 |
parents | 733396469e5d |
children | 69ce77696c5d |
line wrap: on
line diff
--- a/main.c Sat May 26 05:16:27 2012 +0300 +++ b/main.c Sat May 26 05:20:37 2012 +0300 @@ -1868,15 +1868,11 @@ } } - // Okay ... - printMsg(currWin, "Trying to resolve host '%s' ...\n", optServer); + // Okay, try to resolve the hostname conn->host = th_strdup(optServer); conn->hst = nn_resolve_host(conn, optServer); if (conn->hst == NULL) - { - errorMsg("Could not resolve hostname: %s.\n", strerror(h_errno)); goto err_exit; - } #ifdef FINAL_BUILD /* To emulate the official client, we first make a request for