diff --git a/channel.h b/channel.h index 40f7d15..0f0fcc1 100644 --- a/channel.h +++ b/channel.h @@ -96,7 +96,7 @@ struct ChanType { }; -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); diff --git a/common-session.c b/common-session.c index 06cdbd1..1b2eb2f 100644 --- a/common-session.c +++ b/common-session.c @@ -62,7 +62,6 @@ void common_session_init(int sock, char* remotehost) { ses.connecttimeout = 0; kexfirstinitialise(); /* initialise the kex state */ - chaninitialise(); /* initialise the channel state */ ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN); ses.transseq = 0;