Removed obsolete TODOs

This commit is contained in:
Bobbi Webber-Manners 2020-07-29 23:32:16 -04:00
parent 47340307ba
commit 875b01a5f5

View File

@ -301,7 +301,6 @@ uint8_t read_email_db(uint16_t startnum, uint8_t initialize, uint8_t switchmbox)
return 1;
}
if (reverse) {
// TODO Streamline this once it works
if (fseek(fp, 0, SEEK_END)) {
fclose(fp);
error(switchmbox ? ERR_NONFATAL : ERR_FATAL, "Can't seek in %s", filename);
@ -361,7 +360,6 @@ uint8_t read_email_db(uint16_t startnum, uint8_t initialize, uint8_t switchmbox)
free(curr);
}
if (reverse) {
// TODO Streamline this once it works
pos = ftell(fp) - 2 * EMAILHDRS_SZ_ON_DISK;
if (pos == -1 * EMAILHDRS_SZ_ON_DISK) {
fclose(fp);