case FLD:
case FLDPLUS:
compnum++;
- cp = add (buf, NULL);
+ cp = mh_xstrdup(buf);
while (state == FLDPLUS) {
bufsz = sizeof buf;
state = m_getfld (&gstate, name, buf, &bufsz, in);
should never have reached this point. Warn about any
that are non-empty. */
if (strcmp (str, "\n")) {
- TrimSuffixC(str, '\n');
+ trim_suffix_c(str, '\n');
if (! whomsw) {
advise (NULL, "ignoring header line -- %s: %s", name, str);
}
case RP_NO:
case RP_NDEL:
die (NULL, "posting failed; %s", rp_string (retval));
+ /* FALLTHRU */
default:
die (NULL, "unexpected response; %s", rp_string (retval));