X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fviamail.c;h=3dbd27cee0c9e8c07fc850156cae63d56a8057c7;hp=2168f717b70f0f38e873bdf9aacfc2bc825ea5cb;hb=4885712264980e6cbc2039f9158027bee9213475;hpb=8f4c5da8971926f7eccc912f7998c343aef3c33b diff --git a/uip/viamail.c b/uip/viamail.c index 2168f71..3dbd27c 100644 --- a/uip/viamail.c +++ b/uip/viamail.c @@ -3,6 +3,10 @@ * viamail.c -- send multiple files in a MIME message * * $Id$ + * + * 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 @@ -11,7 +15,7 @@ #include #include #include -#include +#include #include #include #include @@ -48,7 +52,6 @@ static struct swit switches[] = { { NULL, 0 } }; -extern int errno; extern int debugsw; extern int splitsw; extern int verbsw; @@ -233,7 +236,7 @@ via_mail (char *mailsw, char *subjsw, char *parmsw, char *descsw, if (verbsw) vec[vecp++] = "-verbose"; - switch (sendsbr (vec, vecp, tmpfil, &st, 0)) { + switch (sendsbr (vec, vecp, tmpfil, &st, 0, (char *)0)) { case DONE: case NOTOK: status++;