From 05c599666d722f7b312c7b8e6e770dfc85740d72 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 18 Mar 2017 14:45:58 -0700 Subject: sesman: remove sessvc, one less process to manage --- sesman/scp_v0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sesman/scp_v0.c') diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c index a6a1060c..a1c919e2 100644 --- a/sesman/scp_v0.c +++ b/sesman/scp_v0.c @@ -122,18 +122,18 @@ scp_v0_process(struct SCP_CONNECTION *c, struct SCP_SESSION *s) if (SCP_SESSION_TYPE_XVNC == s->type) { log_message( LOG_LEVEL_INFO, "starting Xvnc session..."); - display = session_start(data, SESMAN_SESSION_TYPE_XVNC, s); + display = session_start(data, SESMAN_SESSION_TYPE_XVNC, c, s); } else if (SCP_SESSION_TYPE_XRDP == s->type) { log_message(LOG_LEVEL_INFO, "starting X11rdp session..."); - display = session_start(data, SESMAN_SESSION_TYPE_XRDP, s); + display = session_start(data, SESMAN_SESSION_TYPE_XRDP, c, s); } else if (SCP_SESSION_TYPE_XORG == s->type) { /* type is SCP_SESSION_TYPE_XORG */ log_message(LOG_LEVEL_INFO, "starting Xorg session..."); - display = session_start(data, SESMAN_SESSION_TYPE_XORG, s); + display = session_start(data, SESMAN_SESSION_TYPE_XORG, c, s); } } else -- cgit v1.2.3