diff common-session.c @ 41:18eccbfb9641

added window-size change handling
author Matt Johnston <matt@ucc.asn.au>
date Sun, 01 Aug 2004 09:41:37 +0000
parents e2a1eaa19f22
children 8aeac62a968f
line wrap: on
line diff
--- a/common-session.c	Sun Aug 01 08:54:01 2004 +0000
+++ b/common-session.c	Sun Aug 01 09:41:37 2004 +0000
@@ -144,6 +144,11 @@
 		
 		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");