diff --git a/opentracker.c b/opentracker.c index 1e996d9..61acd3f 100644 --- a/opentracker.c +++ b/opentracker.c @@ -222,7 +222,7 @@ static void server_mainloop( ) { } static int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto ) { - int64 s = proto == FLAG_TCP ? socket_tcp4( ) : socket_udp4(); + int64 s = proto == FLAG_TCP ? socket_tcp4( ) : socket_udp4( ); #ifdef _DEBUG char *protos[] = {"TCP","UDP","UDP mcast"};