]>
Commit | Line | Data |
---|---|---|
52fc0d04 | 1 | --- pilot-link/libsock/padp.c.broken Fri Oct 27 19:10:05 2000 |
2 | +++ pilot-link/libsock/padp.c Wed Jan 31 18:51:39 2001 | |
3 | @@ -150,14 +150,17 @@ | |
4 | else | |
5 | if ((slp->type == (unsigned char) 2) | |
6 | && (padp.type == (unsigned char) padData) | |
7 | - && (slp->id == ps->xid) && (len == 0)) { | |
8 | + && (slp->id == ps->xid) && (len == tlen)) { | |
9 | +#ifdef DEBUG | |
10 | fprintf(stderr, "Missing ack\n"); | |
11 | +#endif | |
12 | /* Incoming padData from response to this transmission. | |
13 | Maybe the Ack was lost */ | |
14 | /* Don't consume packet, and return success. */ | |
15 | - count = 0; | |
16 | + len = 0; | |
17 | + count += tlen; | |
18 | + flags = 0; | |
19 | goto done; | |
20 | - return 0; | |
21 | } | |
22 | else if (padp.type == (unsigned char) 4) { | |
23 | /* Tickle to avoid timeout */ |