projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed msg_style and msg_delim to be file static to m_getfld.c
[mmh]
/
uip
/
scan.c
diff --git
a/uip/scan.c
b/uip/scan.c
index
f49aa60
..
08c893b
100644
(file)
--- a/
uip/scan.c
+++ b/
uip/scan.c
@@
-184,11
+184,9
@@
main (int argc, char **argv)
adios (file, "unable to open");
}
adios (file, "unable to open");
}
-#ifndef JLR
if (hdrflag) {
printf ("FOLDER %s\t%s\n", file, dtimenow (1));
}
if (hdrflag) {
printf ("FOLDER %s\t%s\n", file, dtimenow (1));
}
-#endif /* JLR */
m_unknown (in);
for (msgnum = 1; ; ++msgnum) {
m_unknown (in);
for (msgnum = 1; ; ++msgnum) {
@@
-261,22
+259,13
@@
main (int argc, char **argv)
msgnum += (revflag ? -1 : 1)) {
if (is_selected(mp, msgnum)) {
if ((in = fopen (cp = m_name (msgnum), "r")) == NULL) {
msgnum += (revflag ? -1 : 1)) {
if (is_selected(mp, msgnum)) {
if ((in = fopen (cp = m_name (msgnum), "r")) == NULL) {
-#if 0
- if (errno != EACCES)
-#endif
admonish (cp, "unable to open message");
admonish (cp, "unable to open message");
-#if 0
- else
- printf ("%*d unreadable\n", DMAXFOLDER, msgnum);
-#endif
continue;
}
continue;
}
-#ifndef JLR
if (hdrflag) {
printf ("FOLDER %s\t%s\n", folder, dtimenow(1));
}
if (hdrflag) {
printf ("FOLDER %s\t%s\n", folder, dtimenow(1));
}
-#endif /* JLR */
/*
* Check if message is in any sequence given
/*
* Check if message is in any sequence given
@@
-302,11
+291,7
@@
main (int argc, char **argv)
adios (NULL, "scan() botch (%d)", state);
case SCNEOF:
adios (NULL, "scan() botch (%d)", state);
case SCNEOF:
-#if 0
- printf ("%*d empty\n", DMAXFOLDER, msgnum);
-#else
advise (NULL, "message %d: empty", msgnum);
advise (NULL, "message %d: empty", msgnum);
-#endif
break;
}
hdrflag = 0;
break;
}
hdrflag = 0;