diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-01 09:41:37 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-01 09:41:37 +0000 |
commit | 55c9b4564937d6f3348896d010bde2bb3711a1fd (patch) | |
tree | 0b0c8d4e47918a3bae2318ed82ca5ac673fafe63 /common-session.c | |
parent | 051b7454f80a52d2b0bea2e34562949a3bc70fe4 (diff) |
added window-size change handling
--HG--
extra : convert_revision : 93a39c7b76f478035046b9c6f88af54612cce36f
Diffstat (limited to 'common-session.c')
-rw-r--r-- | common-session.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common-session.c b/common-session.c index 79166f4..601136f 100644 --- a/common-session.c +++ b/common-session.c @@ -144,6 +144,11 @@ void session_loop(void(*loophandler)()) { if (val < 0) { if (errno == EINTR) { + /* This must happen even if we've been interrupted, so that + * changed signal-handler vars can take effect etc */ + if (loophandler) { + loophandler(); + } continue; } else { dropbear_exit("Error in select"); |