summaryrefslogtreecommitdiff
path: root/net/btget/patches
diff options
context:
space:
mode:
authorreinoud <reinoud@pkgsrc.org>2006-03-01 12:16:04 +0000
committerreinoud <reinoud@pkgsrc.org>2006-03-01 12:16:04 +0000
commite702dc824289437d3a1d6ba1467854f817389ac3 (patch)
tree599fc5f03a137a3dc23a2b52b6993f2a7d7368ce /net/btget/patches
parent527f64520d47d2dd7a82ed12d0c3f30d9d58bc99 (diff)
downloadpkgsrc-e702dc824289437d3a1d6ba1467854f817389ac3.tar.gz
This new 1.0.5 release fixes two bugs that were causing frequent core
dumps. It also fixes a logic error that was dropping certain connections randomly.
Diffstat (limited to 'net/btget/patches')
-rw-r--r--net/btget/patches/patch-ab10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/btget/patches/patch-ab b/net/btget/patches/patch-ab
index 0bb52f66d38..56995fa9d64 100644
--- a/net/btget/patches/patch-ab
+++ b/net/btget/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2005/09/05 23:41:13 reinoud Exp $
+$NetBSD: patch-ab,v 1.3 2006/03/01 12:16:04 reinoud Exp $
---- src/peer.c.orig 2005-04-27 06:47:47.000000000 +0200
+--- src/peer.c.orig 2005-12-09 09:02:57.000000000 +0100
+++ src/peer.c
-@@ -6,6 +6,7 @@
+@@ -19,6 +19,7 @@
# include <arpa/inet.h>
# include <netdb.h>
# include <sys/socket.h>
@@ -10,11 +10,11 @@ $NetBSD: patch-ab,v 1.2 2005/09/05 23:41:13 reinoud Exp $
# if HAVE_UNISTD_H
# include <unistd.h>
# endif
-@@ -473,7 +474,7 @@ recv_peermsg( btContext *ctx, btPeer *pe
+@@ -596,7 +597,7 @@ recv_peermsg( btContext *ctx, btPeer *pe
btDownload *dl = ctx->downloads[peer->download];
int32_t nbo_len;
int len;
-- char msg[80];
+- char msg[84];
+ char msg[128];
char *nmsg, *param;
int res = 0;