summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common-session.c b/common-session.c
index 1348da2..f2ad436 100644
--- a/common-session.c
+++ b/common-session.c
@@ -52,12 +52,10 @@ int exitflag = 0; /* GLOBAL */
/* called only at the start of a session, set up initial state */
-void common_session_init(int sock_in, int sock_out, char* remotehost) {
+void common_session_init(int sock_in, int sock_out) {
TRACE(("enter session_init"))
- ses.remotehost = remotehost;
-
ses.sock_in = sock_in;
ses.sock_out = sock_out;
ses.maxfd = MAX(sock_in, sock_out);