X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fscan.c;h=5cdd5b9665e1990a2189f9b133bb2ecbeef0800c;hb=611d68d19204d7cbf5bd585391249cb5bafca846;hp=0c172685860b59a074bdea2faa3788165da7bcd2;hpb=43ea5347b6b445d926082d6e3c1ddec376e8692d;p=mmh diff --git a/uip/scan.c b/uip/scan.c index 0c17268..5cdd5b9 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -125,9 +125,9 @@ main(int argc, char **argv) adios(file, "unable to open"); } - m_unknown(in); + thisisanmbox(in); for (msgnum = 1; ; ++msgnum) { - state = scan(in, msgnum, -1, fmtstr, width, 0, 0); + state = scan(in, msgnum, SCN_MBOX, fmtstr, width, 0, 0); if (state != SCNMSG) break; } @@ -205,8 +205,8 @@ main(int argc, char **argv) } } - switch (state = scan(in, msgnum, 0, fmtstr, width, - msgnum == mp->curmsg, unseen)) { + switch (state = scan(in, msgnum, SCN_FOLD, fmtstr, + width, msgnum==mp->curmsg, unseen)) { case SCNMSG: case SCNERR: break;