Mercurial > dropbear
changeset 538:7c8cdc5d2269
merge of '0a8dfaa3e5365a2004db2b55895e11f65b5cefcc'
and 'ef3b41f37e9f4dd45358bc40f9559ee23f71c284'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 17 Mar 2009 22:30:39 +0000 |
parents | 7de2f22ea759 (diff) 1037aabf701b (current diff) |
children | 07a58e4da1ac |
files | |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/common-session.c Tue Mar 03 13:42:54 2009 +0000 +++ b/common-session.c Tue Mar 17 22:30:39 2009 +0000 @@ -71,6 +71,9 @@ } setnonblocking(ses.signal_pipe[0]); setnonblocking(ses.signal_pipe[1]); + + ses.maxfd = MAX(ses.maxfd, ses.signal_pipe[0]); + ses.maxfd = MAX(ses.maxfd, ses.signal_pipe[1]); kexfirstinitialise(); /* initialise the kex state */