diff options
author | erdgeist <> | 2008-10-06 02:06:23 +0000 |
---|---|---|
committer | erdgeist <> | 2008-10-06 02:06:23 +0000 |
commit | 206c74ee2fec762787187b9af0b836787472a364 (patch) | |
tree | 24e6a861256d5e2530cc5a5b4023bed2002c2631 | |
parent | 465cc2ecdf14909144debe70a4833642e11697da (diff) |
Make ot_try_bind local again.
-rw-r--r-- | trackerlogic.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 986c17a..4461a85 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -46,9 +46,6 @@ extern time_t g_now; | |||
46 | extern uint32_t g_tracker_id; | 46 | extern uint32_t g_tracker_id; |
47 | typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG; | 47 | typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG; |
48 | 48 | ||
49 | /* Try to bind to ip:port pair. May call exit() on failure */ | ||
50 | int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto ); | ||
51 | |||
52 | typedef struct { | 49 | typedef struct { |
53 | uint8_t data[8]; | 50 | uint8_t data[8]; |
54 | } ot_peer; | 51 | } ot_peer; |