comparison 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
comparison
equal deleted inserted replaced
40:b4874d772210 41:18eccbfb9641
142 dropbear_exit("Terminated by signal"); 142 dropbear_exit("Terminated by signal");
143 } 143 }
144 144
145 if (val < 0) { 145 if (val < 0) {
146 if (errno == EINTR) { 146 if (errno == EINTR) {
147 /* This must happen even if we've been interrupted, so that
148 * changed signal-handler vars can take effect etc */
149 if (loophandler) {
150 loophandler();
151 }
147 continue; 152 continue;
148 } else { 153 } else {
149 dropbear_exit("Error in select"); 154 dropbear_exit("Error in select");
150 } 155 }
151 } 156 }