blob: 56995fa9d646c519ba4dea8b56b5a78a7a5f4d4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ab,v 1.3 2006/03/01 12:16:04 reinoud Exp $
--- src/peer.c.orig 2005-12-09 09:02:57.000000000 +0100
+++ src/peer.c
@@ -19,6 +19,7 @@
# include <arpa/inet.h>
# include <netdb.h>
# include <sys/socket.h>
+# include <limits.h>
# if HAVE_UNISTD_H
# include <unistd.h>
# endif
@@ -596,7 +597,7 @@ recv_peermsg( btContext *ctx, btPeer *pe
btDownload *dl = ctx->downloads[peer->download];
int32_t nbo_len;
int len;
- char msg[84];
+ char msg[128];
char *nmsg, *param;
int res = 0;
int err;
|