Added mbfido areas command, bulk create msg areas works

This commit is contained in:
Michiel Broek
2002-04-27 21:06:51 +00:00
parent 376e2b2b5c
commit d7ddc264bc
13 changed files with 273 additions and 21 deletions

View File

@@ -217,7 +217,7 @@ void Cookie(void)
srand(getpid());
firstrandom = FALSE;
}
recno = 1+(int) (1.0 * records * rand() / (RAND_MAX + 1.0));
recno = (1+(int) (1.0 * records * rand() / (RAND_MAX + 1.0))) - 1;
if (fseek(olf, olhdr.hdrsize + (recno * olhdr.recsize), SEEK_SET) == 0) {
if (fread(&ol, olhdr.recsize, 1, olf) == 1) {