projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the -fcc switch from repl(1).
[mmh]
/
uip
/
repl.c
diff --git
a/uip/repl.c
b/uip/repl.c
index
354bb79
..
a21b0df
100644
(file)
--- a/
uip/repl.c
+++ b/
uip/repl.c
@@
-27,37
+27,35
@@
static struct swit switches[] = {
{ "editor editor", 0 },
#define NEDITSW 7
{ "noedit", 0 },
{ "editor editor", 0 },
#define NEDITSW 7
{ "noedit", 0 },
-#define FCCSW 8
- { "fcc folder", 0 },
-#define FILTSW 9
+#define FILTSW 8
{ "filter filterfile", 0 },
{ "filter filterfile", 0 },
-#define FORMSW 10
+#define FORMSW 9
{ "form formfile", 0 },
{ "form formfile", 0 },
-#define FRMTSW 11
+#define FRMTSW 10
{ "format", 5 },
{ "format", 5 },
-#define NFRMTSW 12
+#define NFRMTSW 11
{ "noformat", 7 },
{ "noformat", 7 },
-#define MIMESW 13
+#define MIMESW 12
{ "mime", 0 },
{ "mime", 0 },
-#define NMIMESW 14
+#define NMIMESW 13
{ "nomime", 0 },
{ "nomime", 0 },
-#define QURYSW 15
+#define QURYSW 14
{ "query", 0 },
{ "query", 0 },
-#define NQURYSW 16
+#define NQURYSW 15
{ "noquery", 0 },
{ "noquery", 0 },
-#define WHATSW 17
+#define WHATSW 16
{ "whatnowproc program", 0 },
{ "whatnowproc program", 0 },
-#define NWHATSW 18
+#define NWHATSW 17
{ "nowhatnowproc", 0 },
{ "nowhatnowproc", 0 },
-#define VERSIONSW 19
+#define VERSIONSW 18
{ "version", 0 },
{ "version", 0 },
-#define HELPSW 20
+#define HELPSW 19
{ "help", 0 },
{ "help", 0 },
-#define FILESW 21
+#define FILESW 20
{ "file file", 4 }, /* interface from msh */
#ifdef MHE
{ "file file", 4 }, /* interface from msh */
#ifdef MHE
-#define BILDSW 22
+#define BILDSW 21
{ "build", 5 }, /* interface from mhe */
#endif
{ "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 */
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;
{
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;
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;
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!");
case FILESW:
if (file)
adios(NULL, "only one file at a time!");
@@
-336,7
+319,7
@@
main(int argc, char **argv)
form = etcpath(replcomps);
}
form = etcpath(replcomps);
}
- replout(in, msg, drft, mp, mime, form, filter, fcc);
+ replout(in, msg, drft, mp, mime, form, filter);
fclose(in);
if (nwhat)
fclose(in);
if (nwhat)