debian/patches/0_insync_largerhash
raw| 1 | --- inn-1.7.2.orig/expire/expire.c |
| 2 | +++ inn-1.7.2/expire/expire.c |
| 3 | @@ -26,7 +26,7 @@ |
| 4 | */ |
| 5 | #define NGH_HASH(Name, p, j) \ |
| 6 | for (p = Name, j = 0; *p; ) j = (j << 5) + j + *p++ |
| 7 | -#define NGH_SIZE 2048 |
| 8 | +#define NGH_SIZE 4096 |
| 9 | #define NGH_BUCKET(j) &NGHtable[j & (NGH_SIZE - 1)] |
| 10 | |
| 11 | typedef struct _BUFFER { |