updates.
authorPekka Riikonen <priikone@silcnet.org>
Thu, 30 Aug 2001 17:35:45 +0000 (17:35 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 30 Aug 2001 17:35:45 +0000 (17:35 +0000)
lib/silcutil/unix/silcunixnet.c
lib/silcutil/win32/silcwin32net.c

index 217b4bd04fac0540c0287f6ac5dd0090efed7a3b..2849e3f7c436b68af1f478a84c6c87fd737d3237 100644 (file)
@@ -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;
   }
 
index 2e1338a1f7ecfbeaa9cdaffc0ead483d1597dd72..142a502e9b9f89f8698733b1712247a18ce00b51 100644 (file)
@@ -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;
   }