comparison common-session.c @ 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 0cfba3034be5
children 3311f4aa52cb
comparison
equal deleted inserted replaced
239:e5ad9fa8b1fa 240:581f81e8c50c
60 ses.maxfd = sock; 60 ses.maxfd = sock;
61 61
62 ses.connecttimeout = 0; 62 ses.connecttimeout = 0;
63 63
64 kexfirstinitialise(); /* initialise the kex state */ 64 kexfirstinitialise(); /* initialise the kex state */
65 chaninitialise(); /* initialise the channel state */
66 65
67 ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN); 66 ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN);
68 ses.transseq = 0; 67 ses.transseq = 0;
69 68
70 ses.readbuf = NULL; 69 ses.readbuf = NULL;