Fixed hash function.
diff --git a/server/file.c b/server/file.c index 60f50f4..4ae1f7d 100644 --- a/server/file.c +++ b/server/file.c
@@ -73,7 +73,7 @@ static int get_name_hash( const char *name ) { int hash = 0; - while (*name) hash ^= *name++; + while (*name) hash ^= (unsigned char)*name++; return hash % NAME_HASH_SIZE; }