fix vacuum function name
authorteodor <teodor>
Mon, 4 Oct 2004 18:00:17 +0000 (18:00 +0000)
committerteodor <teodor>
Mon, 4 Oct 2004 18:00:17 +0000 (18:00 +0000)
flatdb.c

index f0be00a..a570417 100644 (file)
--- 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 {