Debugs
authorPekka Riikonen <priikone@silcnet.org>
Thu, 30 Oct 2003 09:42:26 +0000 (09:42 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 30 Oct 2003 09:42:26 +0000 (09:42 +0000)
apps/silcmap/silcmap_client.c

index e05eae108b26b110ee903e9e633c9ebc03ef41c1..b97bf77e481a5bf4b2542eb197e59c51fbcc6f0f 100644 (file)
@@ -413,7 +413,8 @@ silc_connected(SilcClient client, SilcClientConnection conn,
   silc_schedule_task_del_by_context(client->schedule, mapconn);
 
   if (status == SILC_CLIENT_CONN_ERROR) {
-    fprintf(stderr, "Could not connect to server\n");
+    fprintf(stderr, "Could not connect to server %s\n",
+                    conn->remote_host ? conn->remote_host : "");
     silc_client_close_connection(client, conn);
 
     /* Mark that this server is down. */