X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bc4927948a1b01bf2ae8b952dfd2639c1f929f00..9322ba2854211794c27fae9468768b80b767c211:/uip/post.c diff --git a/uip/post.c b/uip/post.c index e62473e7..9973beb7 100644 --- a/uip/post.c +++ b/uip/post.c @@ -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));