]> diplodocus.org Git - nmh/blobdiff - uip/post.c
Escape literal leading full stop in man/new.man.
[nmh] / uip / post.c
index e62473e746ab8a2e3e2ec1b4326c0e5bb9e28183..9973beb793fa5dadba6322d9a804d9e7f28eb385 100644 (file)
@@ -825,7 +825,7 @@ putfmt (char *name, char *str, int *eai, FILE *out)
               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);
                }
@@ -1867,6 +1867,7 @@ do_text (char *file, int fd)
        case RP_NO: 
        case RP_NDEL: 
            die (NULL, "posting failed; %s", rp_string (retval));
+           /* FALLTHRU */
 
        default: 
            die (NULL, "unexpected response; %s", rp_string (retval));