Commit 06156586 authored by Matt Johnston's avatar Matt Johnston
Browse files

- Add the signal pipe to maxfd

--HG--
extra : convert_revision : 0a8dfaa3e5365a2004db2b55895e11f65b5cefcc
parent ff763e40
......@@ -71,6 +71,9 @@ void common_session_init(int sock_in, int sock_out, char* remotehost) {
}
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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment