X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ef3d1c488ff7104fc473561ff066f242077b4e6b..b246954f6e1422c732780c8f568b3beb0e386964:/uip/comp.c diff --git a/uip/comp.c b/uip/comp.c index a98e24e2..a78bcc69 100644 --- a/uip/comp.c +++ b/uip/comp.c @@ -1,6 +1,4 @@ - -/* - * comp.c -- compose a message +/* comp.c -- compose a message * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -31,7 +29,7 @@ X("cc address", 0, CCSW) \ X("from address", 0, FROMSW) \ X("fcc mailbox", 0, FCCSW) \ - X("width colums", 0, WIDTHSW) \ + X("width columns", 0, WIDTHSW) \ X("subject text", 0, SUBJECTSW) \ #define X(sw, minchars, id) id, @@ -123,7 +121,7 @@ main (int argc, char **argv) case BILDSW: build++; - /* fall through */ + /* FALLTHRU */ case NWHATSW: nwhat++; continue; @@ -192,8 +190,7 @@ main (int argc, char **argv) if (*cp == '@') cp = dp = path(cp + 1, TSUBCWF); fcc = addlist(fcc, cp); - if (dp) - free(dp); + mh_xfree(dp); continue; case WIDTHSW: @@ -360,7 +357,7 @@ try_it_again: i = YESW; break; default: - advise (NULL, "say what?"); + inform("say what?"); break; } }