summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.