Minor bug fixes.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 10 Jul 2000 05:40:33 +0000 (05:40 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 10 Jul 2000 05:40:33 +0000 (05:40 +0000)
apps/silc/client.c
apps/silc/client.h

index e0f8fe67d1bd5513b654fa653248f28ab21b0658..bf1d5e2567ae7850cab282e7bc134457d24fd757 100644 (file)
@@ -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;
index 8cf5bec1bb8dadda7970c558e1e5127a070fb732..138b786d145f06e4f0308e0f29ac731945da4405 100644 (file)
@@ -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;