File: 0_insync_largerhash

package info (click to toggle)
inn 1%3A1.7.2q-46
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,628 kB
  • sloc: ansic: 35,534; perl: 11,934; sh: 4,029; makefile: 1,982; awk: 1,567; yacc: 684; tcl: 85; csh: 70
file content (11 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
--- inn-1.7.2.orig/expire/expire.c
+++ inn-1.7.2/expire/expire.c
@@ -26,7 +26,7 @@
 */
 #define NGH_HASH(Name, p, j)    \
 	for (p = Name, j = 0; *p; ) j = (j << 5) + j + *p++
-#define NGH_SIZE	2048
+#define NGH_SIZE	4096
 #define NGH_BUCKET(j)	&NGHtable[j & (NGH_SIZE - 1)]
 
 typedef struct _BUFFER {