# HG changeset patch # User Matti Hamalainen # Date 1289795654 -7200 # Node ID f5518f10dd1af40115dc5f3cd44b02baf9ee5508 # Parent 317df807da5405ec894de7e825d41c3cff74d318 Don't use hstrerror(), but strerror() instead. diff -r 317df807da54 -r f5518f10dd1a nnchat.c --- a/nnchat.c Mon Nov 15 06:02:50 2010 +0200 +++ b/nnchat.c Mon Nov 15 06:34:14 2010 +0200 @@ -916,8 +916,7 @@ THMSG(1, "Trying to resolve host '%s' ...\n", optServer); tmpHost = gethostbyname(optServer); if (tmpHost == NULL) { - THERR("Could not resolve hostname: %s.\n", - hstrerror(h_errno)); + THERR("Could not resolve hostname: %s.\n", strerror(h_errno)); goto err_exit; } THMSG(2, "True hostname: %s\n", tmpHost->h_name);