Fixed while loop to prevent too early fdb close

This commit is contained in:
Michiel Broek 2004-07-19 20:18:15 +00:00
parent c342251898
commit 8b05c8121a

View File

@ -304,10 +304,10 @@ int Add_BBS(qualify **qal)
sprintf(temp2, "%s/.%s", area.Path, fdb.Name); sprintf(temp2, "%s/.%s", area.Path, fdb.Name);
unlink(temp2); /* Thumbnail, no logging if there is an error */ unlink(temp2); /* Thumbnail, no logging if there is an error */
} }
mbsedb_PackFDB(fdb_area);
mbsedb_CloseFDB(fdb_area);
DidDelete = FALSE;
} }
mbsedb_PackFDB(fdb_area);
mbsedb_CloseFDB(fdb_area);
DidDelete = FALSE;
} }
} }