From 1c80391e61c35106c6855d5cfad59b38f00b3197 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 29 Oct 2002 14:41:10 +0000 Subject: [PATCH] Hmm. Probably best initialise mainchan as well; oops. [originally from svn r2157] --- ssh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssh.c b/ssh.c index e60e0315..75da932e 100644 --- a/ssh.c +++ b/ssh.c @@ -5902,6 +5902,7 @@ static char *ssh_init(void *frontend_handle, void **backend_handle, ssh->do_ssh1_login_state = NULL; ssh->do_ssh2_transport_state = NULL; ssh->do_ssh2_authconn_state = NULL; + ssh->mainchan = NULL; *backend_handle = ssh;