Reformated comments and long lines
[mmh] / uip / rcvstore.c
index 2458852..40adf86 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * rcvstore.c -- asynchronously add mail to a folder
- *
- * 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.
- */
+** rcvstore.c -- asynchronously add mail to a folder
+**
+** 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 <fcntl.h>
@@ -41,8 +41,8 @@ static struct swit switches[] = {
 
 
 /*
- * name of temporary file to store incoming message
- */
+** name of temporary file to store incoming message
+*/
 static char *tmpfilenam = NULL;
 
 static void unlink_done(int) NORETURN;
@@ -137,7 +137,8 @@ main (int argc, char **argv)
                        else
                                folder = pluspath (cp);
                } else {
-                       adios (NULL, "usage: %s [+folder] [switches]", invo_name);
+                       adios (NULL, "usage: %s [+folder] [switches]",
+                                       invo_name);
                }
        }
 
@@ -195,22 +196,23 @@ main (int argc, char **argv)
        }
 
        /*
-        * read folder and create message structure
-        */
+       ** read folder and create message structure
+       */
        if (!(mp = folder_read (folder)))
                adios (NULL, "unable to read folder %s", folder);
 
        /*
-        * Link message into folder, and possibly add
-        * to the Unseen-Sequence's.
-        */
-       if ((msgnum = folder_addmsg (&mp, tmpfilenam, 0, unseensw, 0, 0, (char *)0)) == -1)
+       ** Link message into folder, and possibly add
+       ** to the Unseen-Sequence's.
+       */
+       if ((msgnum = folder_addmsg (&mp, tmpfilenam, 0, unseensw, 0, 0,
+                       (char *)0)) == -1)
                done (1);
 
        /*
-        * Add the message to any extra sequences
-        * that have been specified.
-        */
+       ** Add the message to any extra sequences
+       ** that have been specified.
+       */
        for (seqp = 0; seqs[seqp]; seqp++) {
                if (!seq_addmsg (mp, seqs[seqp], msgnum, publicsw, zerosw))
                        done (1);
@@ -229,8 +231,8 @@ main (int argc, char **argv)
 }
 
 /*
- * Clean up and exit
- */
+** Clean up and exit
+*/
 static void
 unlink_done(int status)
 {