]> git.pld-linux.org Git - packages/pilot-link.git/blame - pilot-link-ack.patch
- release 4: make libtool hapy.
[packages/pilot-link.git] / pilot-link-ack.patch
CommitLineData
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 */
This page took 0.059593 seconds and 4 git commands to generate.