X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/017a82124bf2ea39ced5aa4c8f969c18b3c2fb90..29d590d74c6e03f5efe9f743c40a61028ccd491d:/uip/scan.c diff --git a/uip/scan.c b/uip/scan.c index 7f5cf46f..02621dc5 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -3,13 +3,17 @@ * scan.c -- display a one-line "scan" listing of folder or messages * * $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 #include #include -#include -#include +#include +#include #include /* @@ -47,7 +51,6 @@ static struct swit switches[] = { { NULL, 0 } }; -extern int errno; /* * global for sbr/formatsbr.c - yech! @@ -316,7 +319,7 @@ main (int argc, char **argv) switch (state = scan (in, msgnum, 0, nfs, width, msgnum == mp->curmsg, unseen, - hdrflag ? folder : NULL, 0L, 1)) { + folder, 0L, 1)) { case SCNMSG: case SCNENC: case SCNERR: