X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frepl.c;h=a21b0dfb243c2ed7fac102c9901226636b46114c;hp=354bb79c20e4e786fffd5a679595c05c87d8b70a;hb=88d0e7601d67f8212791482433dcda4cb9d3eaac;hpb=51676eb43e6b8aced3a78f45f84ae146c046a5f0 diff --git a/uip/repl.c b/uip/repl.c index 354bb79..a21b0df 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -27,37 +27,35 @@ static struct swit switches[] = { { "editor editor", 0 }, #define NEDITSW 7 { "noedit", 0 }, -#define FCCSW 8 - { "fcc folder", 0 }, -#define FILTSW 9 +#define FILTSW 8 { "filter filterfile", 0 }, -#define FORMSW 10 +#define FORMSW 9 { "form formfile", 0 }, -#define FRMTSW 11 +#define FRMTSW 10 { "format", 5 }, -#define NFRMTSW 12 +#define NFRMTSW 11 { "noformat", 7 }, -#define MIMESW 13 +#define MIMESW 12 { "mime", 0 }, -#define NMIMESW 14 +#define NMIMESW 13 { "nomime", 0 }, -#define QURYSW 15 +#define QURYSW 14 { "query", 0 }, -#define NQURYSW 16 +#define NQURYSW 15 { "noquery", 0 }, -#define WHATSW 17 +#define WHATSW 16 { "whatnowproc program", 0 }, -#define NWHATSW 18 +#define NWHATSW 17 { "nowhatnowproc", 0 }, -#define VERSIONSW 19 +#define VERSIONSW 18 { "version", 0 }, -#define HELPSW 20 +#define HELPSW 19 { "help", 0 }, -#define FILESW 21 +#define FILESW 20 { "file file", 4 }, /* interface from msh */ #ifdef MHE -#define BILDSW 22 +#define BILDSW 21 { "build", 5 }, /* interface from mhe */ #endif @@ -86,7 +84,6 @@ short groupreply = 0; /* Is this a group reply? */ int mime = 0; /* include original as MIME part */ char *form = NULL; /* form (components) file */ char *filter = NULL; /* message filter file */ -char *fcc = NULL; /* folders to add to Fcc: header */ /* @@ -100,7 +97,7 @@ main(int argc, char **argv) { int anot = 0; int nedit = 0, nwhat = 0; - char *cp, *cwd, *dp, *maildir, *file = NULL; + char *cp, *cwd, *maildir, *file = NULL; char *folder = NULL, *msg = NULL; char *ed = NULL, drft[BUFSIZ], buf[BUFSIZ]; char **argp, **arguments; @@ -191,20 +188,6 @@ main(int argc, char **argv) nwhat++; continue; - case FCCSW: - if (!(cp = *argp++) || *cp == '-') - adios(NULL, "missing argument to %s", - argp[-2]); - dp = NULL; - if (*cp == '@') - cp = dp = getcpy(expandfol(cp)); - if (fcc) - fcc = add(", ", fcc); - fcc = add(cp, fcc); - if (dp) - free(dp); - continue; - case FILESW: if (file) adios(NULL, "only one file at a time!"); @@ -336,7 +319,7 @@ main(int argc, char **argv) form = etcpath(replcomps); } - replout(in, msg, drft, mp, mime, form, filter, fcc); + replout(in, msg, drft, mp, mime, form, filter); fclose(in); if (nwhat)