X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fforw.c;h=4fbd45f38966fa4be055bfa9879ad01b2e01170c;hp=140136a9abf8651d17786b96e6d76c886f02063a;hb=ee4f43cf2ef0084ec698e4e87159a94c01940622;hpb=8d77b48284c58c135a6b2787e721597346ab056d diff --git a/uip/forw.c b/uip/forw.c index 140136a..4fbd45f 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -35,11 +35,9 @@ static struct swit switches[] = { { "volume number", 0 }, #define WHATSW 8 { "whatnowproc program", 0 }, -#define NWHATSW 9 - { "nowhatnowproc", 0 }, -#define VERSIONSW 10 +#define VERSIONSW 9 { "version", 0 }, -#define HELPSW 11 +#define HELPSW 10 { "help", 0 }, #ifdef MHE @@ -66,7 +64,7 @@ main(int argc, char **argv) { int msgp = 0, anot = 0; int issue = 0, volume = 0; - int nedit = 0, nwhat = 0, in; + int nedit = 0, in; int out, msgnum; char *cp, *cwd, *maildir; char *digest = NULL, *ed = NULL; @@ -129,15 +127,12 @@ main(int argc, char **argv) *whatnowproc == '-') adios(NULL, "missing argument to %s", argp[-2]); - nwhat = 0; continue; #ifdef MHE case BILDSW: buildsw++; /* fall... */ -#endif /* MHE */ - case NWHATSW: - nwhat++; continue; +#endif /* MHE */ case FORMSW: if (!(form = *argp++) || *form == '-') @@ -261,7 +256,7 @@ main(int argc, char **argv) seq_save(mp); /* synchronize sequences */ context_save(); /* save the context file */ - if (nwhat) + if (buildsw) done(0); what_now(ed, nedit, NOUSE, drft, NULL, 0, mp, anot ? "Forwarded" : NULL, cwd);