X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frepl.c;h=f6016deaf2f5892b932f1ee6b7581bd39eed91ff;hp=db41ebba6fbf3cb1e5812c1ef77164a6313f5b7f;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/uip/repl.c b/uip/repl.c index db41ebb..f6016de 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -1,10 +1,10 @@ /* - * repl.c -- reply to 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 - * complete copyright information. - */ +** repl.c -- reply to 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 +** complete copyright information. +*/ #include #include @@ -97,8 +97,8 @@ char *fcc = NULL; /* folders to add to Fcc: header */ /* - * prototypes - */ +** prototypes +*/ void docc (char *, int); @@ -139,8 +139,7 @@ main (int argc, char **argv) adios (NULL, "-%s unknown", cp); case HELPSW: - snprintf (buf, sizeof(buf), "%s: [+folder] [msg] [switches]", - invo_name); + snprintf (buf, sizeof(buf), "%s: [+folder] [msg] [switches]", invo_name); print_help (buf, switches, 1); done (0); case VERSIONSW: @@ -182,7 +181,8 @@ main (int argc, char **argv) continue; case WHATSW: - if (!(whatnowproc = *argp++) || *whatnowproc == '-') + if (!(whatnowproc = *argp++) || + *whatnowproc == '-') adios (NULL, "missing argument to %s", argp[-2]); nwhat = 0; continue; @@ -199,7 +199,8 @@ main (int argc, char **argv) adios (NULL, "missing argument to %s", argp[-2]); dp = NULL; if (*cp == '@') - cp = dp = path (cp + 1, TSUBCWF); + cp = dp = path (cp + 1, + TSUBCWF); if (fcc) fcc = add (", ", fcc); fcc = add (cp, fcc); @@ -299,13 +300,13 @@ main (int argc, char **argv) if (file) { /* - * We are replying to a file. - */ + ** We are replying to a file. + */ anot = 0; /* we don't want to annotate a file */ } else { /* - * We are replying to a message. - */ + ** We are replying to a message. + */ if (!msg) msg = "cur"; if (!folder) @@ -331,7 +332,7 @@ main (int argc, char **argv) if (mp->numsel > 1) adios (NULL, "only one message at a time!"); - context_replace (pfolder, folder); /* update current folder */ + context_replace (pfolder, folder); /* update current folder */ seq_setcur (mp, mp->lowsel); /* update current message */ seq_save (mp); /* synchronize sequences */ context_save (); /* save the context file */ @@ -369,7 +370,8 @@ docc (char *cp, int ccflag) ambigsw (cp, ccswitches); done (1); case UNKWNSW: - adios (NULL, "-%scc %s unknown", ccflag ? "" : "no", cp); + adios (NULL, "-%scc %s unknown", + ccflag ? "" : "no", cp); case CTOSW: ccto = ccflag;