From 8bee224dc08aea5681d0065ed179cdcac6962450 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 21 Nov 2007 01:55:59 +0000 Subject: static bufs are not shared anymore, even if that means more memory. --- ot_accesslist.c | 1 + ot_udp.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ot_accesslist.c b/ot_accesslist.c index 0f46a00..e1774fb 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c @@ -18,6 +18,7 @@ #ifdef WANT_ACCESS_CONTROL static char *accesslist_filename = NULL; static ot_vector accesslist; +static char static_inbuf[8192]; static void accesslist_reset( void ) { free( accesslist.data ); diff --git a/ot_udp.c b/ot_udp.c index 61624c5..af4bdc9 100644 --- a/ot_udp.c +++ b/ot_udp.c @@ -14,6 +14,9 @@ #include "ot_udp.h" #include "ot_stats.h" +static char static_inbuf[8192]; +static char static_outbuf[8192]; + /* UDP implementation according to http://xbtt.sourceforge.net/udp_tracker_protocol.html */ void handle_udp4( int64 serversocket ) { ot_peer peer; -- cgit v1.2.3