projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the configuration option NOPUBLICSEQ.
[mmh]
/
uip
/
slocal.c
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
2e7c257
..
ac9225b
100644
(file)
--- a/
uip/slocal.c
+++ b/
uip/slocal.c
@@
-158,7
+158,7
@@
static struct pair hdrs[NVEC + 1] = {
{ "Resent-From", NULL, P_ADR },
{ "Resent-Sender", NULL, P_ADR },
{ "Resent-To", NULL, P_ADR },
{ "Resent-From", NULL, P_ADR },
{ "Resent-Sender", NULL, P_ADR },
{ "Resent-To", NULL, P_ADR },
- { "Resent-cc", NULL, P_ADR },
+ { "Resent-Cc", NULL, P_ADR },
{ NULL, NULL, 0 }
};
{ NULL, NULL, 0 }
};
@@
-214,7
+214,7
@@
main(int argc, char **argv)
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(*argv, '/');
+ invo_name = mhbasename(*argv);
/* foil search of user profile/context */
if (context_foil(NULL) == -1)
/* foil search of user profile/context */
if (context_foil(NULL) == -1)
@@
-792,7
+792,7
@@
parse(int fd)
case FLD:
case FLDEOF:
case FLDPLUS:
case FLD:
case FLDEOF:
case FLDPLUS:
- lp = add(field, NULL);
+ lp = getcpy(field);
while (state == FLDPLUS) {
state = m_getfld(state, name, field,
sizeof(field), in);
while (state == FLDPLUS) {
state = m_getfld(state, name, field,
sizeof(field), in);
@@
-1586,7
+1586,7
@@
suppress_duplicates(int fd, char *file)
continue;
}
continue;
}
- cp = add(buf, NULL);
+ cp = getcpy(buf);
while (state == FLDPLUS) {
state = m_getfld(state, name, buf, sizeof(buf), in);
cp = add(buf, cp);
while (state == FLDPLUS) {
state = m_getfld(state, name, buf, sizeof(buf), in);
cp = add(buf, cp);