int seqnum[NUMATTRS], unseen, num_unseen_seq = 0;
char *cp, *maildir, *file = NULL, *folder = NULL;
char *form = NULL, buf[BUFSIZ];
- char **argp, *nfs, **arguments;
+ char **argp, *fmtstr, **arguments;
struct msgs_array msgs = { 0, 0, NULL };
struct msgs *mp;
FILE *in;
/*
** Get new format string. Must be before chdir().
*/
- nfs = new_fs(form, FORMAT);
+ fmtstr = new_fs(form, FORMAT);
/*
** We are scanning a maildrop file
m_unknown(in);
for (msgnum = 1; ; ++msgnum) {
- state = scan(in, msgnum, -1, nfs, width, 0, 0,
- NULL, 0L, 1);
- if (state != SCNMSG && state != SCNENC)
+ state = scan(in, msgnum, -1, fmtstr, width, 0, 0);
+ if (state != SCNMSG)
break;
}
fclose(in);
}
}
- switch (state = scan(in, msgnum, 0, nfs, width,
- msgnum == mp->curmsg, unseen,
- folder, 0L, 1)) {
+ switch (state = scan(in, msgnum, 0, fmtstr, width,
+ msgnum == mp->curmsg, unseen)) {
case SCNMSG:
- case SCNENC:
case SCNERR:
break;