X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fscan.c;h=d5cc50f94f25b410adbd25e39efb880ad5b04744;hp=1b58eb5b563c692c020e6c1df50a7b2491970637;hb=0b40f7c1c35770622511eda71ec5353784ea1dc6;hpb=e57b17343dcb3ff373ef4dd089fbe778f0c7c270 diff --git a/uip/scan.c b/uip/scan.c index 1b58eb5..d5cc50f 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -31,7 +31,6 @@ static struct swit switches[] = { int main(int argc, char **argv) { - int ontty; int width = 0; int i, state, msgnum; int seqnum[NUMATTRS], unseen, num_unseen_seq = 0; @@ -188,8 +187,6 @@ main(int argc, char **argv) } } - ontty = isatty(fileno(stdout)); - for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) { if (is_selected(mp, msgnum)) { if ((in = fopen(cp = m_name(msgnum), "r")) == NULL) { @@ -225,8 +222,6 @@ main(int argc, char **argv) break; } fclose(in); - if (ontty) - fflush(stdout); } }