Reformated comments and long lines
[mmh] / uip / rcvpack.c
index b1bc518..a89d1fe 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * rcvpack.c -- append message to a file
- *
- * 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.
- */
+** rcvpack.c -- append message to a file
+**
+** 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/dropsbr.h>
@@ -25,8 +25,8 @@ static struct swit switches[] = {
 };
 
 /*
- * default format in which to save messages
- */
+** default format in which to save messages
+*/
 static int mbx_style = MBOX_FORMAT;
 
 
@@ -60,7 +60,9 @@ main (int argc, char **argv)
                                        adios (NULL, "-%s unknown", cp);
 
                                case HELPSW:
-                                       snprintf (buf, sizeof(buf), "%s [switches] file", invo_name);
+                                       snprintf (buf, sizeof(buf),
+                                                       "%s [switches] file",
+                                                       invo_name);
                                        print_help (buf, switches, 1);
                                        done (1);
                                case VERSIONSW:
@@ -87,11 +89,13 @@ main (int argc, char **argv)
        rewind (stdin);
 
        /* open and lock the file */
-       if ((md = mbx_open (file, mbx_style, getuid(), getgid(), m_gmprot())) == NOTOK)
+       if ((md = mbx_open (file, mbx_style, getuid(), getgid(), m_gmprot()))
+                       == NOTOK)
                done (RCV_MBX);
 
        /* append the message */
-       if (mbx_copy (file, mbx_style, md, fileno(stdin), 1, NULL, 0) == NOTOK) {
+       if (mbx_copy (file, mbx_style, md, fileno(stdin), 1, NULL, 0)
+                       == NOTOK) {
                mbx_close (file, md);
                done (RCV_MBX);
        }