diff 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
line wrap: on
line diff
--- a/cli-session.c	Mon Aug 31 15:25:39 2009 +0000
+++ b/cli-session.c	Tue Sep 01 16:38:26 2009 +0000
@@ -82,13 +82,13 @@
 	NULL /* Null termination */
 };
 
-void cli_session(int sock_in, int sock_out, char* remotehost) {
+void cli_session(int sock_in, int sock_out) {
 
 	seedrandom();
 
 	crypto_init();
 
-	common_session_init(sock_in, sock_out, remotehost);
+	common_session_init(sock_in, sock_out);
 
 	chaninitialise(cli_chantypes);