blob: b6f4d6d2acb5f94d2ac1bec24e2ac5ecc38183b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ae,v 1.2 2002/01/30 10:19:39 dillo Exp $
--- libsock/padp.c.orig Tue Jun 19 07:50:11 2001
+++ libsock/padp.c
@@ -173,13 +173,13 @@
&& (padp.type ==
(unsigned char) padData)
&& (slp->id == ps->xid)
- && (len == 0)) {
+ && (len == tlen)) {
fprintf(stderr, "Missing ack\n");
/* Incoming padData from response to
this transmission. Maybe the Ack
was lost */
/* Don't consume packet, and return success. */
- count = 0;
+ count += tlen;
goto done;
return 0;
} else if (padp.type == (unsigned char) 4) {
|