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