mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-02-21 16:29:06 +00:00
Refactoring of email_pager() (work-in-progress)
This commit is contained in:
parent
c4d062ae48
commit
9dd6b2bd3c
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user