binkp 1.1 updates

This commit is contained in:
Michiel Broek 2004-01-04 14:08:22 +00:00
parent 57868f7093
commit 49a0851886

View File

@ -842,6 +842,9 @@ int file_transfer(void)
if (rc == -1) { if (rc == -1) {
if (bp.local_EOB && bp.remote_EOB) { if (bp.local_EOB && bp.remote_EOB) {
Syslog('b', "Binkp: ignore TCP error in EOB state"); Syslog('b', "Binkp: ignore TCP error in EOB state");
rc = 0;
bp.FtState = Transmit; /* Go once more through transmitter to cleanup */
break;
} else { } else {
/* /*
* Only check if not in EOB state * Only check if not in EOB state
@ -1707,8 +1710,8 @@ int binkp_poll_frame(void)
break; break;
} }
Syslog('?', "Binkp: receiver status %s", ttystat[c]); Syslog('?', "Binkp: receiver status %s", ttystat[c]);
bp.TxState = TxDone; // bp.TxState = TxDone;
bp.RxState = RxDone; // bp.RxState = RxDone;
bp.rc = (MBERR_TTYIO + (-c)); bp.rc = (MBERR_TTYIO + (-c));
rc = -1; rc = -1;
break; break;