Replace a constant with an already defined symbolic name for it.
Tested with: md5(1)
This commit is contained in:
parent
dba3c50842
commit
22b971db87
@ -222,7 +222,7 @@ tcp_hc_init(void)
|
||||
&tcp_hostcache.bucket_limit);
|
||||
if (!powerof2(tcp_hostcache.hashsize)) {
|
||||
printf("WARNING: hostcache hash size is not a power of 2.\n");
|
||||
tcp_hostcache.hashsize = 512; /* safe default */
|
||||
tcp_hostcache.hashsize = TCP_HOSTCACHE_HASHSIZE; /* default */
|
||||
}
|
||||
tcp_hostcache.hashmask = tcp_hostcache.hashsize - 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user