X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilc%2Flocal_command.c;h=7a9316a5d4468d399f8375f06e0afc434b949d4b;hb=6175840fb524397cecae2d70b4befa8d377a652d;hp=56e36da4a9f6bdc2071b1071c9d4184cd3579ab1;hpb=439d7874f4cc9590a4a4e5d57f924c1b661a1485;p=silc.git diff --git a/apps/silc/local_command.c b/apps/silc/local_command.c index 56e36da4..7a9316a5 100644 --- a/apps/silc/local_command.c +++ b/apps/silc/local_command.c @@ -20,6 +20,9 @@ /* * $Id$ * $Log$ + * Revision 1.4 2001/02/16 00:33:23 priikone + * updates. + * * Revision 1.3 2001/02/14 15:31:33 priikone * Do not allow several server connections. * @@ -207,6 +210,7 @@ SILC_CLIENT_LCMD_FUNC(server) port = 706; } +#if 0 if (conn && conn->remote_host) { if (!strcmp(hostname, conn->remote_host) && port == conn->remote_port) { silc_say(client, conn, "You are already connected to that server"); @@ -217,6 +221,7 @@ SILC_CLIENT_LCMD_FUNC(server) cmd->client->ops->disconnect(cmd->client, cmd->conn); silc_client_close_connection(cmd->client, cmd->conn->sock); } +#endif /* Connect asynchronously to not to block user interface */ silc_client_connect_to_server(cmd->client, port, hostname, NULL);