X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fscan.c;h=02621dc56d1eaa6be9c15e70dac3890d158b57d3;hb=08baf4f8bc7623c41a9753c71aed9a4042196aac;hp=b40537c078a2255a15d68f695e04258fd0f8cf45;hpb=8563731b02ce9d750806f6b1769af8b399d964e8;p=mmh diff --git a/uip/scan.c b/uip/scan.c index b40537c..02621dc 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 /* @@ -43,11 +47,10 @@ static struct swit switches[] = { #define VERSIONSW 10 { "version", 0 }, #define HELPSW 11 - { "help", 4 }, + { "help", 0 }, { 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: