From: Pekka Riikonen Date: Mon, 10 Jul 2000 05:40:33 +0000 (+0000) Subject: Minor bug fixes. X-Git-Tag: SILC.0.1~467 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=e572180fa6bd84ee26bc70db5c1afe3670b71de4;p=silc.git Minor bug fixes. --- diff --git a/apps/silc/client.c b/apps/silc/client.c index e0f8fe67..bf1d5e25 100644 --- a/apps/silc/client.c +++ b/apps/silc/client.c @@ -20,6 +20,9 @@ /* * $Id$ * $Log$ + * Revision 1.7 2000/07/10 05:40:33 priikone + * Minor bug fixes. + * * Revision 1.6 2000/07/07 06:54:16 priikone * Print channel name when receiving channel message to non-current * channel. @@ -251,12 +254,11 @@ SilcClientWindow silc_client_create_main_window(SilcClient client) assert(client->screen != NULL); - win = silc_calloc(1, sizeof(*win)); - client->screen->u_stat_line.program_name = silc_name; client->screen->u_stat_line.program_version = silc_version; - /* Add the pointers */ + /* Create windows */ + win = silc_calloc(1, sizeof(*win)); win->nickname = silc_get_username(); win->local_id = NULL; win->local_id_data = NULL; diff --git a/apps/silc/client.h b/apps/silc/client.h index 8cf5bec1..138b786d 100644 --- a/apps/silc/client.h +++ b/apps/silc/client.h @@ -57,6 +57,7 @@ typedef struct { char *remote_host; int remote_port; int remote_type; + char *remote_info; /* Remote client ID for this connection */ SilcClientID *remote_id;