From 6220afb6924192f9115842e47bff3e8370d09df3 Mon Sep 17 00:00:00 2001 From: teodor Date: Mon, 4 Oct 2004 18:00:17 +0000 Subject: [PATCH] fix vacuum function name --- flatdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flatdb.c b/flatdb.c index f0be00a..a570417 100644 --- a/flatdb.c +++ b/flatdb.c @@ -162,7 +162,7 @@ FDBClose(FDB *db) { if ( db->listcur ) { FDBFreeSpace *ptr; - vacuumFreeSpace(db); + FDBVacuumFreeSpace(db); header.lenfreespace = sizeof(FDBFreeSpace)*db->listcur; ptr = findFreeSpace( db, header.lenfreespace ); @@ -276,7 +276,7 @@ FDBPut(FDB *db, FDBRecord *record, off_t *offset ) { *offset = ptr->offset; ptr->length -= record->length; if ( ptr->length == 0 ) - vacuumFreeSpace(db); + FDBVacuumFreeSpace(db); if ( lseek(db->fd, *offset, SEEK_SET) != *offset ) tlog(TL_CRIT|TL_EXIT,"FDBPut: lseek failed: %s", strerror(errno)); } else { -- 2.46.1