diff options
author | dillo <dillo> | 2002-01-30 10:19:39 +0000 |
---|---|---|
committer | dillo <dillo> | 2002-01-30 10:19:39 +0000 |
commit | c9411524e9e6183dbdf60cd55f7703602060fd7f (patch) | |
tree | 696018b58a40430adf1085b7e665e0aec57b18d3 /comms/pilot-link/patches | |
parent | a8c5bcfae6d511ebd89af8b09ea15b745abd72bc (diff) | |
download | pkgsrc-c9411524e9e6183dbdf60cd55f7703602060fd7f.tar.gz |
fix bug in previous
Diffstat (limited to 'comms/pilot-link/patches')
-rw-r--r-- | comms/pilot-link/patches/patch-ae | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/comms/pilot-link/patches/patch-ae b/comms/pilot-link/patches/patch-ae index 9cb83241ab4..b6f4d6d2acb 100644 --- a/comms/pilot-link/patches/patch-ae +++ b/comms/pilot-link/patches/patch-ae @@ -1,21 +1,20 @@ -$NetBSD: patch-ae,v 1.1 2002/01/30 10:05:13 dillo Exp $ +$NetBSD: patch-ae,v 1.2 2002/01/30 10:19:39 dillo Exp $ -diff -r -u pilot-link.0.9.5/libsock/padp.c work/pilot-link.0.9.5/libsock/padp.c --- libsock/padp.c.orig Tue Jun 19 07:50:11 2001 -+++ libsock/padp.c Wed Jan 30 10:09:18 2002 ++++ libsock/padp.c @@ -173,13 +173,13 @@ && (padp.type == (unsigned char) padData) && (slp->id == ps->xid) - && (len == 0)) { -+ && (len == count+tlen)) { ++ && (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 = len; ++ count += tlen; goto done; return 0; } else if (padp.type == (unsigned char) 4) { |