X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvstore.c;h=40adf8650f798d29dd7bbc2ff675eacca9bdc72c;hp=2458852a2cb4ab25ed9591f9150f51d9fa99c80d;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/uip/rcvstore.c b/uip/rcvstore.c index 2458852..40adf86 100644 --- a/uip/rcvstore.c +++ b/uip/rcvstore.c @@ -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 #include @@ -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) {