summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
51d0e64)
nfs is the ``new format string'' if it is NULL, we don't (and actually
can't) print a scan line.
-int scan(FILE *, int, int, char *, int, int, int, int);
+int scan(FILE *, int, int, char *, int, int, int);
}
/* create scanline for new message */
}
/* 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;
case SCNFAT:
case SCNEOF:
break;
m_unknown(in);
for (msgnum = 1; ; ++msgnum) {
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;
}
if (state != SCNMSG)
break;
}
}
switch (state = scan(in, msgnum, 0, nfs, width,
}
switch (state = scan(in, msgnum, 0, nfs, width,
- msgnum == mp->curmsg, unseen,
- 1)) {
+ msgnum == mp->curmsg, unseen)) {
case SCNMSG:
case SCNERR:
break;
case SCNMSG:
case SCNERR:
break;
int
scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
int
scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
{
int i, compnum, state;
unsigned char *cp, *tmpbuf;
{
int i, compnum, state;
unsigned char *cp, *tmpbuf;
if (bodycomp)
bodycomp->c_text = saved_c_text;
if (bodycomp)
bodycomp->c_text = saved_c_text;
fputs(scanl, stdout);
/* return dynamically allocated buffers to pool */
fputs(scanl, stdout);
/* return dynamically allocated buffers to pool */