Refactoring of email_pager() (work-in-progress)

This commit is contained in:
Bobbi Webber-Manners 2020-07-20 17:53:22 -04:00
parent c4d062ae48
commit 9dd6b2bd3c

View File

@ -829,12 +829,10 @@ restart:
fputs("\n\n", stdout);
get_line(fp, 1, linebuf, &pos); // Reset buffer
while (1) {
if (!readp) {
if (get_line(fp, 0, linebuf, &pos) == -1)
eof = 1;
readp = linebuf;
++linecount;
} else {
if ((mime >= 1) && (!strncmp(linebuf, "--", 2))) {
if (attachfp)
fclose(attachfp);
@ -993,7 +991,6 @@ retry:
}
} while (readp);
}
}
}
/*