diff options
-rw-r--r-- | ot_accesslist.c | 1 | ||||
-rw-r--r-- | ot_udp.c | 3 |
2 files changed, 4 insertions, 0 deletions
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 @@ | |||
18 | #ifdef WANT_ACCESS_CONTROL | 18 | #ifdef WANT_ACCESS_CONTROL |
19 | static char *accesslist_filename = NULL; | 19 | static char *accesslist_filename = NULL; |
20 | static ot_vector accesslist; | 20 | static ot_vector accesslist; |
21 | static char static_inbuf[8192]; | ||
21 | 22 | ||
22 | static void accesslist_reset( void ) { | 23 | static void accesslist_reset( void ) { |
23 | free( accesslist.data ); | 24 | free( accesslist.data ); |
@@ -14,6 +14,9 @@ | |||
14 | #include "ot_udp.h" | 14 | #include "ot_udp.h" |
15 | #include "ot_stats.h" | 15 | #include "ot_stats.h" |
16 | 16 | ||
17 | static char static_inbuf[8192]; | ||
18 | static char static_outbuf[8192]; | ||
19 | |||
17 | /* UDP implementation according to http://xbtt.sourceforge.net/udp_tracker_protocol.html */ | 20 | /* UDP implementation according to http://xbtt.sourceforge.net/udp_tracker_protocol.html */ |
18 | void handle_udp4( int64 serversocket ) { | 21 | void handle_udp4( int64 serversocket ) { |
19 | ot_peer peer; | 22 | ot_peer peer; |