# | Line 50 | Line 50 | register char *s; | |
---|---|---|
50 | register long h = 0; | |
51 | ||
52 | while (*s) | |
53 | < | h ^= (long)(*s++ & 0xff) << (i++ & 15); |
53 | > | h ^= (long)(*s++ & 0xff) << (i++ & 0xf); |
54 | return(h); | |
55 | } | |
56 | ||
# | Line 81 | Line 81 | tryagain: | |
81 | oldtabl = tbl->tabl; | |
82 | ndx = tbl->tsiz; | |
83 | i = tbl->ndel; | |
84 | < | if (!lu_init(tbl, ndx-i)) { /* no more memory! */ |
84 | > | if (!lu_init(tbl, ndx-i+1)) { /* no more memory! */ |
85 | tbl->tabl = oldtabl; | |
86 | tbl->tsiz = ndx; | |
87 | tbl->ndel = i; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |