From 49a08518864ea83c00eff06687698ea8b358e355 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 4 Jan 2004 14:08:22 +0000 Subject: [PATCH] binkp 1.1 updates --- mbcico/binkpnew.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mbcico/binkpnew.c b/mbcico/binkpnew.c index 5e881745..74a48872 100644 --- a/mbcico/binkpnew.c +++ b/mbcico/binkpnew.c @@ -842,6 +842,9 @@ int file_transfer(void) if (rc == -1) { if (bp.local_EOB && bp.remote_EOB) { Syslog('b', "Binkp: ignore TCP error in EOB state"); + rc = 0; + bp.FtState = Transmit; /* Go once more through transmitter to cleanup */ + break; } else { /* * Only check if not in EOB state @@ -1707,8 +1710,8 @@ int binkp_poll_frame(void) break; } Syslog('?', "Binkp: receiver status %s", ttystat[c]); - bp.TxState = TxDone; - bp.RxState = RxDone; +// bp.TxState = TxDone; +// bp.RxState = RxDone; bp.rc = (MBERR_TTYIO + (-c)); rc = -1; break;