changeset 240:581f81e8c50c

common session initialiser doesn't need to call chansessioninnitialise(), fix up header definition
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Sep 2005 12:13:44 +0000
parents e5ad9fa8b1fa
children 3311f4aa52cb
files channel.h common-session.c
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/channel.h	Mon Sep 05 12:12:55 2005 +0000
+++ b/channel.h	Mon Sep 05 12:13:44 2005 +0000
@@ -96,7 +96,7 @@
 
 };
 
-void chaninitialise();
+void chaninitialise(const struct ChanType *chantypes[]);
 void chancleanup();
 void setchannelfds(fd_set *readfd, fd_set *writefd);
 void channelio(fd_set *readfd, fd_set *writefd);
--- a/common-session.c	Mon Sep 05 12:12:55 2005 +0000
+++ b/common-session.c	Mon Sep 05 12:13:44 2005 +0000
@@ -62,7 +62,6 @@
 	ses.connecttimeout = 0;
 	
 	kexfirstinitialise(); /* initialise the kex state */
-	chaninitialise(); /* initialise the channel state */
 
 	ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN);
 	ses.transseq = 0;