summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor.c b/monitor.c
index 595aae1a8..5df45ce45 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor.c,v 1.85 2006/08/03 03:34:42 deraadt Exp $ */ 1/* $OpenBSD: monitor.c,v 1.86 2006/08/04 20:46:05 stevesk Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -1266,7 +1266,7 @@ mm_session_close(Session *s)
1266{ 1266{
1267 debug3("%s: session %d pid %ld", __func__, s->self, (long)s->pid); 1267 debug3("%s: session %d pid %ld", __func__, s->self, (long)s->pid);
1268 if (s->ttyfd != -1) { 1268 if (s->ttyfd != -1) {
1269 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd); 1269 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd);
1270 session_pty_cleanup2(s); 1270 session_pty_cleanup2(s);
1271 } 1271 }
1272 s->used = 0; 1272 s->used = 0;
@@ -1326,7 +1326,7 @@ mm_answer_pty(int sock, Buffer *m)
1326 /* no need to dup() because nobody closes ptyfd */ 1326 /* no need to dup() because nobody closes ptyfd */
1327 s->ptymaster = s->ptyfd; 1327 s->ptymaster = s->ptyfd;
1328 1328
1329 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ttyfd); 1329 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ttyfd);
1330 1330
1331 return (0); 1331 return (0);
1332 1332