Commit 90fc064c authored by rswindell's avatar rswindell
Browse files

Fix bug introduced in rev 1.119: When reading in the msgbase index

(.sid file), don't divide the fread() results (it's already in number of
records read). This could cause msgbase maintenance to not take place
or corruption of a msg base.
parent 3b3ea8ca
......@@ -740,7 +740,6 @@ void maint(void)
l = fread(idx, sizeof(idxrec_t), smb.status.total_msgs, smb.sid_fp);
l /= sizeof(idxrec_t);
printf("Scanning for pre-flagged messages...\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment