app->conn = NULL when received disconnect operation.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 11 Feb 2001 21:29:08 +0000 (21:29 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 11 Feb 2001 21:29:08 +0000 (21:29 +0000)
apps/silc/client_ops.c

index 511b20c4e500342c656909e3bdcbc7a2c5a82fac..ae20153b4756212d52f089c16a18f88f784f1d4f 100644 (file)
@@ -358,6 +358,7 @@ void silc_disconnect(SilcClient client, SilcClientConnection conn)
 
   app->screen->bottom_line->connection = NULL;
   silc_screen_print_bottom_line(app->screen, 0);
+  app->conn = NULL;
 }
 
 /* Asks passphrase from user on the input line. */