summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-11 14:12:08 +0000
committerKevin Steves <stevesk@pobox.com>2001-02-11 14:12:08 +0000
commit43cdef3ba58f4b7dd47787425c2cab8ceec64006 (patch)
treee6ba9f00bace375e802b3e2bf10027c5bc330b0e /session.c
parent432768612c21549792714fbc2c4fcf5e49f22a65 (diff)
missed session.c part of:
- stevesk@cvs.openbsd.org 2001/02/08 10:11:23 [session.c sftp-client.c] %i -> %d
Diffstat (limited to 'session.c')
-rw-r--r--session.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/session.c b/session.c
index 92fb31e09..d1870918c 100644
--- a/session.c
+++ b/session.c
@@ -1532,7 +1532,7 @@ session_open(int chanid)
1532 } 1532 }
1533 s->pw = auth_get_user(); 1533 s->pw = auth_get_user();
1534 if (s->pw == NULL) 1534 if (s->pw == NULL)
1535 fatal("no user for session %i", s->self); 1535 fatal("no user for session %d", s->self);
1536 debug("session_open: session %d: link with channel %d", s->self, chanid); 1536 debug("session_open: session %d: link with channel %d", s->self, chanid);
1537 s->chanid = chanid; 1537 s->chanid = chanid;
1538 return 1; 1538 return 1;
@@ -1842,7 +1842,7 @@ session_pty_cleanup(Session *s)
1842 if (s == NULL || s->ttyfd == -1) 1842 if (s == NULL || s->ttyfd == -1)
1843 return; 1843 return;
1844 1844
1845 debug("session_pty_cleanup: session %i release %s", s->self, s->tty); 1845 debug("session_pty_cleanup: session %d release %s", s->self, s->tty);
1846 1846
1847 /* Cancel the cleanup function. */ 1847 /* Cancel the cleanup function. */
1848 fatal_remove_cleanup(pty_cleanup_proc, (void *)s); 1848 fatal_remove_cleanup(pty_cleanup_proc, (void *)s);
@@ -2008,7 +2008,6 @@ session_proctitle(Session *s)
2008void 2008void
2009do_authenticated2(Authctxt *authctxt) 2009do_authenticated2(Authctxt *authctxt)
2010{ 2010{
2011
2012 /* 2011 /*
2013 * Cancel the alarm we set to limit the time taken for 2012 * Cancel the alarm we set to limit the time taken for
2014 * authentication. 2013 * authentication.