$NetBSD: patch-ab,v 1.2 2005/09/05 23:41:13 reinoud Exp $

--- src/peer.c.orig	2005-04-27 06:47:47.000000000 +0200
+++ src/peer.c
@@ -6,6 +6,7 @@
 #   include <arpa/inet.h>
 #   include <netdb.h>
 #   include <sys/socket.h>
+#   include <limits.h>
 #   if HAVE_UNISTD_H
 #      include <unistd.h>
 #   endif
@@ -473,7 +474,7 @@ recv_peermsg( btContext *ctx, btPeer *pe
     btDownload *dl = ctx->downloads[peer->download];
     int32_t nbo_len;
     int len;
-    char msg[80];
+    char msg[128];
     char *nmsg, *param;
     int res = 0;
     int err;
