diff options
-rw-r--r-- | src/bucket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bucket.c b/src/bucket.c index 0597965..3d267e2 100644 --- a/src/bucket.c +++ b/src/bucket.c @@ -53,9 +53,9 @@ int gdbm_dir_entry_valid_p (GDBM_FILE dbf, int dir_index) { return dir_index >= 0 && dir_index < GDBM_DIR_COUNT (dbf) - && dbf->dir[dir_index] >= 2*dbf->header->block_size; + && dbf->dir[dir_index] >= dbf->header->block_size; } /* Find a bucket for DBF that is pointed to by the bucket directory from location DIR_INDEX. The bucket cache is first checked to see if it |