diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-29 13:53:31 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-29 13:53:31 +0000 |
commit | b9741f14bb7d8020fe38d58d8c3c8babcd48bcc2 (patch) | |
tree | 83dc9f384e04071da685d43688e54dc1bb5d874e /svr-chansession.c | |
parent | 728e46fa99dd96532939764f29b324fb8b87f223 (diff) | |
download | dropbear-b9741f14bb7d8020fe38d58d8c3c8babcd48bcc2.tar.gz |
- Add Counter Mode support
Diffstat (limited to 'svr-chansession.c')
-rw-r--r-- | svr-chansession.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-chansession.c b/svr-chansession.c index 9b2a412..e7a2106 100644 --- a/svr-chansession.c +++ b/svr-chansession.c @@ -663,11 +663,11 @@ static int noptycommand(struct Channel *channel, struct ChanSess *chansess) { addchildpid(chansess, chansess->pid); if (svr_ses.lastexit.exitpid != -1) { + unsigned int i; TRACE(("parent side: lastexitpid is %d", svr_ses.lastexit.exitpid)) /* The child probably exited and the signal handler triggered * possibly before we got around to adding the childpid. So we fill * out its data manually */ - int i; for (i = 0; i < svr_ses.childpidsize; i++) { if (svr_ses.childpids[i].pid == svr_ses.lastexit.exitpid) { TRACE(("found match for lastexitpid")) |