diff options
Diffstat (limited to 'os/xdmcp.c')
-rw-r--r-- | os/xdmcp.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/os/xdmcp.c b/os/xdmcp.c index b265db338..b1ee5d255 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -199,8 +199,6 @@ static void send_packet(void); static void timeout(void); -static void restart(void); - static void XdmcpBlockHandler(void *data , struct timeval **wt, void *LastSelectMask); @@ -708,9 +706,7 @@ XdmcpWakeupHandler(void *data, /* unused */ #endif XFD_ANDSET(&devicesReadable, last_select_mask, &EnabledDevices); if (XFD_ANYSET(&devicesReadable)) { - if (state == XDM_AWAIT_USER_INPUT) - restart(); - else if (state == XDM_RUN_SESSION) + if (state == XDM_RUN_SESSION) keepaliveDormancy = defaultKeepaliveDormancy; } if (XFD_ANYSET(&AllClients) && state == XDM_RUN_SESSION) @@ -936,14 +932,6 @@ timeout(void) send_packet(); } -static void -restart(void) -{ - state = XDM_INIT_STATE; - timeOutRtx = 0; - send_packet(); -} - static int XdmcpCheckAuthentication(ARRAY8Ptr Name, ARRAY8Ptr Data, int packet_type) { |