goto non_mhl_switches;
case NHEADSW:
headersw = 0;
+ /* FALLTHRU */
case CONCATSW:
case NCONCATSW:
non_mhl_switches:
} else {
if (mode != SHOW)
goto usage;
- else
- app_msgarg(&msgs, cp);
+ app_msgarg(&msgs, cp);
}
}
for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++)
if (is_selected(mp, msgnum))
- app_msgarg(&vec, getcpy (m_name (msgnum)));
+ app_msgarg(&vec, mh_xstrdup(m_name (msgnum)));
seq_setcur (mp, mp->hghsel); /* update current message */
seq_save (mp); /* synchronize sequences */
int passno;
char c;
- cp = add (buf, NULL);
+ cp = mh_xstrdup(buf);
while (state == FLDPLUS) {
bufsz = sizeof buf;
state = m_getfld (&gstate, name, buf, &bufsz, fp);
continue;
case '(':
i++;
- /* and fall... */
+ /* FALLTHRU */
default:
continue;
case ')':
if (*dp) {
if ((result = !uprf (dp, "charset")))
goto out;
- dp += sizeof("charset") - 1;
+ dp += LEN("charset");
while (isspace ((unsigned char) *dp))
dp++;
if (*dp++ != '=')
* Check Content-Transfer-Encoding field
*/
if (!strcasecmp (name, ENCODING_FIELD)) {
- cp = add (buf, NULL);
+ cp = mh_xstrdup(buf);
while (state == FLDPLUS) {
bufsz = sizeof buf;
state = m_getfld (&gstate, name, buf, &bufsz, fp);