From 17724dde29c488f08338653ac6a98fb7a9fd6d22 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 6 Oct 2008 02:03:08 +0000 Subject: Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself. --- opentracker.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'opentracker.c') diff --git a/opentracker.c b/opentracker.c index 6c132be..8ed73f3 100644 --- a/opentracker.c +++ b/opentracker.c @@ -202,8 +202,6 @@ static void server_mainloop( ) { handle_accept( i ); else if( (int)cookie == FLAG_UDP ) handle_udp4( i ); - else if( (int)cookie == FLAG_MCA ) - handle_livesync(i); else handle_read( i ); } @@ -233,7 +231,7 @@ static void server_mainloop( ) { } } -int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto ) { +static int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto ) { int64 s = proto == FLAG_TCP ? socket_tcp4( ) : socket_udp4(); #ifdef _DEBUG -- cgit v1.2.3