common session initialiser doesn't need to call

chansessioninnitialise(), fix up header definition

--HG--
extra : convert_revision : 580bc5e6e1413daf46156a181259c244ce1ab174
This commit is contained in:
Matt Johnston 2005-09-05 12:13:44 +00:00
parent 21c4cd7cb2
commit e7f579b75d
2 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,7 @@ struct ChanType {
}; };
void chaninitialise(); void chaninitialise(const struct ChanType *chantypes[]);
void chancleanup(); void chancleanup();
void setchannelfds(fd_set *readfd, fd_set *writefd); void setchannelfds(fd_set *readfd, fd_set *writefd);
void channelio(fd_set *readfd, fd_set *writefd); void channelio(fd_set *readfd, fd_set *writefd);

View File

@ -62,7 +62,6 @@ void common_session_init(int sock, char* remotehost) {
ses.connecttimeout = 0; ses.connecttimeout = 0;
kexfirstinitialise(); /* initialise the kex state */ kexfirstinitialise(); /* initialise the kex state */
chaninitialise(); /* initialise the channel state */
ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN); ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN);
ses.transseq = 0; ses.transseq = 0;