summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index ccd3465..9cbffc1 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -42,6 +42,9 @@ typedef struct {
42 42
43#define OT_CLIENT_REQUEST_INTERVAL_RANDOM ( OT_CLIENT_REQUEST_INTERVAL - OT_CLIENT_REQUEST_VARIATION/2 + (int)( random( ) % OT_CLIENT_REQUEST_VARIATION ) ) 43#define OT_CLIENT_REQUEST_INTERVAL_RANDOM ( OT_CLIENT_REQUEST_INTERVAL - OT_CLIENT_REQUEST_VARIATION/2 + (int)( random( ) % OT_CLIENT_REQUEST_VARIATION ) )
44 44
45/* Number of tracker admin ip addresses allowed */
46#define OT_ADMINIP_MAX 64
47
45/* We maintain a list of 4096 pointers to sorted list of ot_torrent structs 48/* We maintain a list of 4096 pointers to sorted list of ot_torrent structs
46 Sort key is, of course, its hash */ 49 Sort key is, of course, its hash */
47#define OT_BUCKET_COUNT 1024 50#define OT_BUCKET_COUNT 1024