-
-/*
- * burst.c -- explode digests into individual messages
+/* burst.c -- explode digests into individual messages
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
} else {
if (numburst == 0) {
if (!quietsw)
- admonish (NULL, "message %d not in digest format",
+ inform("message %d not in digest format, continuing...",
msgnum);
} /* this pair of braces was missing before 1999-07-15 */
else
}
}
- free ((char *) smsgs);
+ free(smsgs);
context_replace (pfolder, folder); /* update current folder */
/*
content = parse_mime(msgnam);
if (! content && *mimesw == 2)
return 0;
- else if (content) {
+ if (content) {
smsgs[0].s_start = 0;
smsgs[0].s_stop = content->c_begin - 1;
msgp = 1;
for (part = m->mp_parts; part; part = part->mp_next)
find_mime_parts(part->mp_part, smsgs, msgp);
}
-
- return;
}
admonish (f3, "unable to rename %s to", f1);
(void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
- ext_hook("del-hook", f3, (char *)0);
+ ext_hook("del-hook", f3, NULL);
}
if (rename (f2, f1) == NOTOK)
admonish (f1, "unable to rename %s to", f2);
(void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
- ext_hook("add-hook", f3, (char *)0);
+ ext_hook("add-hook", f3, NULL);
copy_msg_flags (mp, i, msgnum);
mp->msgflags |= SEQMOD;
default:
state = S2;
+ /* FALLTHRU */
case '\n':
fputc (c, out);
break;
switch (c) {
case '\n':
state = S1;
+ /* FALLTHRU */
default:
fputc (c, out);
break;