diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
1279 | int | 1279 | int |