diff options
author | Damien Miller <djm@mindrot.org> | 2012-06-30 08:33:17 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2012-06-30 08:33:17 +1000 |
commit | 5f58a877680d1c2c1a1b11e8e2b38353ed728327 (patch) | |
tree | 0b67618025547406d1136b8db2e382a6fbd33955 /monitor.c | |
parent | 97f43bbfc9be102ca285af28afc288d90afa6712 (diff) |
- dtucker@cvs.openbsd.org 2012/06/22 12:30:26
[monitor.c sshconnect2.c]
remove dead code following 'for (;;)' loops.
From Steve.McClellan at radisys com, ok markus@
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.116 2012/01/05 00:16:56 djm Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.117 2012/06/22 12:30:26 dtucker 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> |
@@ -479,9 +479,6 @@ monitor_child_postauth(struct monitor *pmonitor) | |||
479 | 479 | ||
480 | for (;;) | 480 | for (;;) |
481 | monitor_read(pmonitor, mon_dispatch, NULL); | 481 | monitor_read(pmonitor, mon_dispatch, NULL); |
482 | |||
483 | close(pmonitor->m_sendfd); | ||
484 | pmonitor->m_sendfd = -1; | ||
485 | } | 482 | } |
486 | 483 | ||
487 | void | 484 | void |