/*
** prototypes
*/
-int scan(FILE *, int, int, char *, int, int, int, int);
+int scan(FILE *, int, int, char *, int, int, int);
}
/* create scanline for new message */
- switch (incerr = scan(in, msgnum + 1, msgnum + 1, nfs, width,
- msgnum == hghnum && chgflag, 1, noisy)) {
+ switch (incerr = scan(in, msgnum + 1, msgnum + 1,
+ noisy ? nfs : NULL, width,
+ msgnum == hghnum && chgflag, 1)) {
case SCNFAT:
case SCNEOF:
break;
m_unknown(in);
for (msgnum = 1; ; ++msgnum) {
- state = scan(in, msgnum, -1, nfs, width, 0, 0, 1);
+ state = scan(in, msgnum, -1, nfs, width, 0, 0);
if (state != SCNMSG)
break;
}
}
switch (state = scan(in, msgnum, 0, nfs, width,
- msgnum == mp->curmsg, unseen,
- 1)) {
+ msgnum == mp->curmsg, unseen)) {
case SCNMSG:
case SCNERR:
break;
int
scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
- int unseen, int noisy)
+ int unseen)
{
int i, compnum, state;
unsigned char *cp, *tmpbuf;
if (bodycomp)
bodycomp->c_text = saved_c_text;
- if (noisy)
+ if (nfs)
fputs(scanl, stdout);
/* return dynamically allocated buffers to pool */