projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whoops, fix a typo in my last commit.
[mmh]
/
sbr
/
mts.c
diff --git
a/sbr/mts.c
b/sbr/mts.c
index
c529156
..
1bf62ce
100644
(file)
--- a/
sbr/mts.c
+++ b/
sbr/mts.c
@@
-64,7
+64,6
@@
static char localmbox[BUFSIZ];
*/
static char *sm_method = "smtp";
int sm_mts = MTS_SMTP;
*/
static char *sm_method = "smtp";
int sm_mts = MTS_SMTP;
-char *hostable = nmhetcdir(/hosts);
char *sendmail = SENDMAILPATH;
/*
char *sendmail = SENDMAILPATH;
/*
@@
-108,7
+107,6
@@
static struct bind binds[] = {
{ "mmdelim1", &mmdlm1 },
{ "mmdelim2", &mmdlm2 },
{ "mts", &sm_method },
{ "mmdelim1", &mmdlm1 },
{ "mmdelim2", &mmdlm2 },
{ "mts", &sm_method },
- { "hostable", &hostable },
{ "sendmail", &sendmail },
{ "clientname", &clientname },
{ "servers", &servers },
{ "sendmail", &sendmail },
{ "clientname", &clientname },
{ "servers", &servers },
@@
-395,16
+393,10
@@
getuserinfo (void)
else if ((cp = context_find("Signature")))
strncpy (fullname, cp, sizeof(fullname));
else if ((cp = context_find("Signature")))
strncpy (fullname, cp, sizeof(fullname));
- if (strchr(fullname, '.')) { /* quote any .'s */
- char tmp[BUFSIZ];
-
- /* should quote "'s too */
- snprintf (tmp, sizeof(tmp), "\"%s\"", fullname);
- strncpy (fullname, tmp, sizeof(fullname));
- }
-
fullname[sizeof(fullname) - 1] = '\0';
fullname[sizeof(fullname) - 1] = '\0';
+ escape_display_name(fullname, sizeof(fullname));
+
localmbox[0] = '\0';
return;
localmbox[0] = '\0';
return;