summaryrefslogtreecommitdiff
path: root/ot_udp.c
diff options
context:
space:
mode:
authorerdgeist <>2007-11-21 01:55:59 +0000
committererdgeist <>2007-11-21 01:55:59 +0000
commit8bee224dc08aea5681d0065ed179cdcac6962450 (patch)
tree82b21200ad46ebe64cc4e3ac443757cf03b29483 /ot_udp.c
parent9e45802946b89f61ec1420f2a9e5efd19ab9641c (diff)
static bufs are not shared anymore, even if that means more memory.
Diffstat (limited to 'ot_udp.c')
-rw-r--r--ot_udp.c3
1 files changed, 3 insertions, 0 deletions
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 @@
14#include "ot_udp.h" 14#include "ot_udp.h"
15#include "ot_stats.h" 15#include "ot_stats.h"
16 16
17static char static_inbuf[8192];
18static 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 */
18void handle_udp4( int64 serversocket ) { 21void handle_udp4( int64 serversocket ) {
19 ot_peer peer; 22 ot_peer peer;