comparison svr-chansession.c @ 62:20563735e8b5

just checkpointing
author Matt Johnston <matt@ucc.asn.au>
date Tue, 10 Aug 2004 17:09:52 +0000
parents b4874d772210
children b0316ce64e4b
comparison
equal deleted inserted replaced
61:3a4f0ef1e8c3 62:20563735e8b5
406 if (tcgetattr(chansess->master, &termio) == -1) { 406 if (tcgetattr(chansess->master, &termio) == -1) {
407 return; 407 return;
408 } 408 }
409 409
410 len = buf_getint(ses.payload); 410 len = buf_getint(ses.payload);
411 TRACE(("term mode str %d p->l %d p->p %d",
412 len, ses.payload->len , ses.payload->pos));
411 if (len != ses.payload->len - ses.payload->pos) { 413 if (len != ses.payload->len - ses.payload->pos) {
412 dropbear_exit("bad term mode string"); 414 dropbear_exit("bad term mode string");
413 } 415 }
414 416
415 if (len == 0) { 417 if (len == 0) {