Zmodem protocol changes
This commit is contained in:
parent
9d82aca2c3
commit
b2666a3b49
@ -513,7 +513,7 @@ int zsendfdata(void)
|
|||||||
int newcnt;
|
int newcnt;
|
||||||
int tcount = 0;
|
int tcount = 0;
|
||||||
int junkcount; /* Counts garbage chars received by TX */
|
int junkcount; /* Counts garbage chars received by TX */
|
||||||
int maxblklen, goodblks = 0, goodneeded = 8;
|
int maxblklen;
|
||||||
|
|
||||||
if (use8k)
|
if (use8k)
|
||||||
maxblklen = 8192;
|
maxblklen = 8192;
|
||||||
@ -524,8 +524,8 @@ int zsendfdata(void)
|
|||||||
junkcount = 0;
|
junkcount = 0;
|
||||||
Beenhereb4 = 0;
|
Beenhereb4 = 0;
|
||||||
somemore:
|
somemore:
|
||||||
// if (0) {
|
|
||||||
if (setjmp(intrjmp)) {
|
if (setjmp(intrjmp)) {
|
||||||
|
Syslog('z', "zsendfdata() at label somemore");
|
||||||
waitack:
|
waitack:
|
||||||
junkcount = 0;
|
junkcount = 0;
|
||||||
c = getinsync(0);
|
c = getinsync(0);
|
||||||
@ -574,7 +574,6 @@ gotack:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//to:
|
|
||||||
|
|
||||||
signal(SIGINT, onintr);
|
signal(SIGINT, onintr);
|
||||||
newcnt = Rxbuflen;
|
newcnt = Rxbuflen;
|
||||||
|
Reference in New Issue
Block a user