X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fforw.c;h=fe056f4a67152a6fb981d5f664e823cae6c2dc00;hp=4fbd45f38966fa4be055bfa9879ad01b2e01170c;hb=75fca31a5b9d5c1a99c74ab14c94438d8852fba9;hpb=ee4f43cf2ef0084ec698e4e87159a94c01940622 diff --git a/uip/forw.c b/uip/forw.c index 4fbd45f..fe056f4 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -23,21 +23,19 @@ static struct swit switches[] = { { "noannotate", 0 }, #define EDITRSW 2 { "editor editor", 0 }, -#define NEDITSW 3 - { "noedit", 0 }, -#define FORMSW 4 +#define FORMSW 3 { "form formfile", 0 }, -#define DGSTSW 5 +#define DGSTSW 4 { "digest list", 0 }, -#define ISSUESW 6 +#define ISSUESW 5 { "issue number", 0 }, -#define VOLUMSW 7 +#define VOLUMSW 6 { "volume number", 0 }, -#define WHATSW 8 +#define WHATSW 7 { "whatnowproc program", 0 }, -#define VERSIONSW 9 +#define VERSIONSW 8 { "version", 0 }, -#define HELPSW 10 +#define HELPSW 9 { "help", 0 }, #ifdef MHE @@ -64,7 +62,7 @@ main(int argc, char **argv) { int msgp = 0, anot = 0; int issue = 0, volume = 0; - int nedit = 0, in; + int in; int out, msgnum; char *cp, *cwd, *maildir; char *digest = NULL, *ed = NULL; @@ -116,10 +114,6 @@ main(int argc, char **argv) if (!(ed = *argp++) || *ed == '-') adios(NULL, "missing argument to %s", argp[-2]); - nedit = 0; - continue; - case NEDITSW: - nedit++; continue; case WHATSW: @@ -258,7 +252,7 @@ main(int argc, char **argv) if (buildsw) done(0); - what_now(ed, nedit, NOUSE, drft, NULL, 0, mp, + what_now(ed, NOUSE, drft, NULL, 0, mp, anot ? "Forwarded" : NULL, cwd); done(1); return 1;