From b2666a3b4920086e7480b4242d133af768d226da Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 18 Mar 2006 18:42:46 +0000 Subject: [PATCH] Zmodem protocol changes --- mbsebbs/zmsend.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mbsebbs/zmsend.c b/mbsebbs/zmsend.c index 1a6c6a60..4e85fead 100644 --- a/mbsebbs/zmsend.c +++ b/mbsebbs/zmsend.c @@ -513,7 +513,7 @@ int zsendfdata(void) int newcnt; int tcount = 0; int junkcount; /* Counts garbage chars received by TX */ - int maxblklen, goodblks = 0, goodneeded = 8; + int maxblklen; if (use8k) maxblklen = 8192; @@ -524,8 +524,8 @@ int zsendfdata(void) junkcount = 0; Beenhereb4 = 0; somemore: -// if (0) { if (setjmp(intrjmp)) { + Syslog('z', "zsendfdata() at label somemore"); waitack: junkcount = 0; c = getinsync(0); @@ -574,7 +574,6 @@ gotack: } } } -//to: signal(SIGINT, onintr); newcnt = Rxbuflen;