binkp 1.1 updates
This commit is contained in:
parent
57868f7093
commit
49a0851886
@ -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;
|
||||||
|
Reference in New Issue
Block a user