From: Pekka Riikonen Date: Thu, 30 Aug 2001 17:35:45 +0000 (+0000) Subject: updates. X-Git-Tag: silcertest~139 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=f1e6186de53c2a54a76191915211eb1ae6a7acf6 updates. --- diff --git a/lib/silcutil/unix/silcunixnet.c b/lib/silcutil/unix/silcunixnet.c index 217b4bd0..2849e3f7 100644 --- a/lib/silcutil/unix/silcunixnet.c +++ b/lib/silcutil/unix/silcunixnet.c @@ -109,7 +109,8 @@ int silc_net_create_connection(int port, char *host) /* Do host lookup */ dest = gethostbyname(host); if (!dest) { - SILC_LOG_ERROR(("Network (%s) unreachable", host)); + SILC_LOG_ERROR(("Network (%s) unreachable: could not resolve the " + "IP address", host)); return -1; } @@ -163,7 +164,8 @@ int silc_net_create_connection_async(int port, char *host) /* Do host lookup */ dest = gethostbyname(host); if (!dest) { - SILC_LOG_ERROR(("Network (%s) unreachable", host)); + SILC_LOG_ERROR(("Network (%s) unreachable: could not resolve the " + "IP address", host)); return -1; } diff --git a/lib/silcutil/win32/silcwin32net.c b/lib/silcutil/win32/silcwin32net.c index 2e1338a1..142a502e 100644 --- a/lib/silcutil/win32/silcwin32net.c +++ b/lib/silcutil/win32/silcwin32net.c @@ -111,7 +111,8 @@ int silc_net_create_connection(int port, char *host) /* Do host lookup */ dest = gethostbyname(host); if (!dest) { - SILC_LOG_ERROR(("Network (%s) unreachable", host)); + SILC_LOG_ERROR(("Network (%s) unreachable: could not resolve the " + "IP address", host)); return -1; } @@ -167,7 +168,8 @@ int silc_net_create_connection_async(int port, char *host) /* Do host lookup */ dest = gethostbyname(host); if (!dest) { - SILC_LOG_ERROR(("Network (%s) unreachable", host)); + SILC_LOG_ERROR(("Network (%s) unreachable: could not resolve the " + "IP address", host)); return -1; }