version 1.53, 2001/02/04 15:32:25 |
version 1.54, 2001/02/08 17:11:23 |
|
|
} |
} |
s->pw = auth_get_user(); |
s->pw = auth_get_user(); |
if (s->pw == NULL) |
if (s->pw == NULL) |
fatal("no user for session %i", s->self); |
fatal("no user for session %d", s->self); |
debug("session_open: session %d: link with channel %d", s->self, chanid); |
debug("session_open: session %d: link with channel %d", s->self, chanid); |
s->chanid = chanid; |
s->chanid = chanid; |
return 1; |
return 1; |
|
|
if (s == NULL || s->ttyfd == -1) |
if (s == NULL || s->ttyfd == -1) |
return; |
return; |
|
|
debug("session_pty_cleanup: session %i release %s", s->self, s->tty); |
debug("session_pty_cleanup: session %d release %s", s->self, s->tty); |
|
|
/* Cancel the cleanup function. */ |
/* Cancel the cleanup function. */ |
fatal_remove_cleanup(pty_cleanup_proc, (void *)s); |
fatal_remove_cleanup(pty_cleanup_proc, (void *)s); |