Reformated comments and long lines
[mmh] / uip / repl.c
index db41ebb..f6016de 100644 (file)
@@ -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 <h/mh.h>
 #include <h/utils.h>
@@ -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;