mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Использовать tablesize в хештаблице
This commit is contained in:
1 parent
98604b5421
commit
4ee7f71fb9
2 files changed
+12
-8
No files matched your search
+2
-1
@@ -766,11 +766,12 @@ struct hashtable {
|
||||
unsigned recsize;
|
||||
unsigned rnd[4];
|
||||
struct hashentry ** hashtable;
|
||||
void * hashvalues;
|
||||
uint8_t * hashvalues;
|
||||
struct hashentry * hashempty;
|
||||
void (*index2hash)(const void *index, unsigned char *hash, const unsigned char *rnd);
|
||||
int grow;
|
||||
time_t compacted;
|
||||
int tablesize;
|
||||
};
|
||||
|
||||
extern struct hashtable dns_table;
|
||||
|
||||
Reference in new issue
Block a user