X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fviamail.c;h=3bf341d74f97ce198cf9d70adf5f570d3c686eb8;hp=25e65c2c774ac5508cf16836feb26a521a4d643c;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/uip/viamail.c b/uip/viamail.c index 25e65c2..3bf341d 100644 --- a/uip/viamail.c +++ b/uip/viamail.c @@ -1,10 +1,10 @@ /* - * viamail.c -- send multiple files in a MIME 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. - */ +** viamail.c -- send multiple files in a MIME 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 @@ -59,8 +59,8 @@ void set_endian (void); int writeBase64aux (FILE *, FILE *); /* - * static prototypes - */ +** static prototypes +*/ static int via_mail (char *, char *, char *, char *, char *, char *); @@ -94,7 +94,8 @@ main (int argc, char **argv) adios (NULL, "-%s unknown", cp); case HELPSW: - snprintf (buf, sizeof(buf), "%s [switches]", invo_name); + snprintf (buf, sizeof(buf), "%s [switches]", + invo_name); print_help (buf, switches, 1); done (1); case VERSIONSW: @@ -103,27 +104,33 @@ main (int argc, char **argv) case TOSW: if (!(f1 = *argp++)) - adios (NULL, "missing argument to %s", argp[-2]); + adios (NULL, "missing argument to %s", + argp[-2]); continue; case SUBJECTSW: if (!(f2 = *argp++)) - adios (NULL, "missing argument to %s", argp[-2]); + adios (NULL, "missing argument to %s", + argp[-2]); continue; case PARAMSW: if (!(f3 = *argp++)) - adios (NULL, "missing argument to %s", argp[-2]); + adios (NULL, "missing argument to %s", + argp[-2]); continue; case DESCRIPTSW: if (!(f4 = *argp++)) - adios (NULL, "missing argument to %s", argp[-2]); + adios (NULL, "missing argument to %s", + argp[-2]); continue; case COMMENTSW: if (!(f5 = *argp++)) - adios (NULL, "missing argument to %s", argp[-2]); + adios (NULL, "missing argument to %s", + argp[-2]); continue; case FROMSW: if (!(f7 = *argp++)) - adios (NULL, "missing argument to %s", argp[-2]); + adios (NULL, "missing argument to %s", + argp[-2]); continue; case VERBSW: @@ -151,8 +158,8 @@ main (int argc, char **argv) /* - * VIAMAIL - */ +** VIAMAIL +*/ static int via_mail (char *mailsw, char *subjsw, char *parmsw, char *descsw,