diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-05 12:40:11 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-05 12:40:11 +1000 |
commit | 9ab00b44c17c89955bad6bf105e89b21c51bbe8e (patch) | |
tree | 2ca106de8f3fa5f5f7d23da38503e4c12d1b2c1c /monitor.c | |
parent | d783435315d8e604998925d5e47b663a500ed252 (diff) |
- stevesk@cvs.openbsd.org 2006/08/04 20:46:05
[monitor.c session.c ssh-agent.c]
spaces
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||