comparison cli-session.c @ 568:005530560594

Rearrange getaddrstring() etc
author Matt Johnston <matt@ucc.asn.au>
date Tue, 01 Sep 2009 16:38:26 +0000
parents 52d7301e46bd
children a98a2138364a
comparison
equal deleted inserted replaced
567:893a9dd0b9dd 568:005530560594
80 &cli_chan_agent, 80 &cli_chan_agent,
81 #endif 81 #endif
82 NULL /* Null termination */ 82 NULL /* Null termination */
83 }; 83 };
84 84
85 void cli_session(int sock_in, int sock_out, char* remotehost) { 85 void cli_session(int sock_in, int sock_out) {
86 86
87 seedrandom(); 87 seedrandom();
88 88
89 crypto_init(); 89 crypto_init();
90 90
91 common_session_init(sock_in, sock_out, remotehost); 91 common_session_init(sock_in, sock_out);
92 92
93 chaninitialise(cli_chantypes); 93 chaninitialise(cli_chantypes);
94 94
95 /* Set up cli_ses vars */ 95 /* Set up cli_ses vars */
96 cli_session_init(); 96 cli_session_init();