summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index 04f6924b6..f872edbb5 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor.c,v 1.95 2008/05/08 12:02:23 djm Exp $ */ 1/* $OpenBSD: monitor.c,v 1.96 2008/05/08 12:21:16 djm 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>
@@ -1273,7 +1273,7 @@ mm_session_close(Session *s)
1273 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd); 1273 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd);
1274 session_pty_cleanup2(s); 1274 session_pty_cleanup2(s);
1275 } 1275 }
1276 s->used = 0; 1276 session_unused(s->self);
1277} 1277}
1278 1278
1279int 1279int