summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d5cf535)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/vcfs@674
959494ce-11ee-0310-bf91-
de5d638817bd
- he = a->hash[0] + ((a->hash[1] & 0x0f) << 8);
+ he = a->hash[0] | ((a->hash[1] & 0x0f) << 8);
for(i = 0; i < 4; i++) {
if(!addrcmp(&st->cache[he * 4 + i].a, a))
break;
for(i = 0; i < 4; i++) {
if(!addrcmp(&st->cache[he * 4 + i].a, a))
break;
int he, i;
struct storecache tmp;
int he, i;
struct storecache tmp;
- he = a->hash[0] + ((a->hash[1] & 0x0f) << 8);
+ he = a->hash[0] | ((a->hash[1] & 0x0f) << 8);
for(i = 0; i < 4; i++) {
if(!addrcmp(&st->cache[he * 4 + i].a, a))
break;
for(i = 0; i < 4; i++) {
if(!addrcmp(&st->cache[he * 4 + i].a, a))
break;