Make ot_try_bind local again.

This commit is contained in:
erdgeist 2008-10-06 02:06:23 +00:00
parent 465cc2ecdf
commit 206c74ee2f

View File

@ -46,9 +46,6 @@ extern time_t g_now;
extern uint32_t g_tracker_id; extern uint32_t g_tracker_id;
typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG; typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG;
/* Try to bind to ip:port pair. May call exit() on failure */
int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto );
typedef struct { typedef struct {
uint8_t data[8]; uint8_t data[8];
} ot_peer; } ot_peer;