X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmshcmds.c;h=4566029c121f86aaea4c1f1b35da681ab62b1b69;hp=b785aeba824bd40acb758f9a2648a0237471b2b0;hb=4885712264980e6cbc2039f9158027bee9213475;hpb=017a82124bf2ea39ced5aa4c8f969c18b3c2fb90 diff --git a/uip/mshcmds.c b/uip/mshcmds.c index b785aeb..4566029 100644 --- a/uip/mshcmds.c +++ b/uip/mshcmds.c @@ -3,6 +3,10 @@ * mshcmds.c -- command handlers in msh * * $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 @@ -10,15 +14,14 @@ #include #include #include -#include -#include +#include +#include #include #include #include #include #include -extern int errno; static char delim3[] = "-------"; /* from burst.c */ @@ -2387,7 +2390,6 @@ showcmd (char **args) for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) if (is_selected (mp, msgnum) && is_nontext (msgnum)) { proc = showmimeproc; - vec[vecp++] = "-show"; vec[vecp++] = "-file"; vec[vecp] = NULL; goto finish; @@ -3006,7 +3008,6 @@ process (int msgnum, char *proc, int vecp, char **vec) strncpy (tmpfil, m_scratch ("", invo_name), sizeof(tmpfil)); if ((out = fopen (tmpfil, "w")) == NULL) { int olderr; - extern int errno; char newfil[80]; olderr = errno;