projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for "to", "cc", "from", and "fcc" components via command-line
[mmh]
/
uip
/
mhlsbr.c
diff --git
a/uip/mhlsbr.c
b/uip/mhlsbr.c
index
a44413c
..
6bfbade
100644
(file)
--- a/
uip/mhlsbr.c
+++ b/
uip/mhlsbr.c
@@
-16,6
+16,8
@@
#include <h/m_setjmp.h>
#include <signal.h>
#include <errno.h>
#include <h/m_setjmp.h>
#include <signal.h>
#include <errno.h>
+#include <sys/wait.h>
+#include <sys/types.h>
/*
* MAJOR BUG:
/*
* MAJOR BUG:
@@
-1094,7
+1096,7
@@
mcomp_format (struct mcomp *c1, struct mcomp *c2)
if ((c1->c_flags & FACEDFLT) && c2->c_face == NULL) {
char *h, *o;
if ((h = mp->m_host) == NULL)
if ((c1->c_flags & FACEDFLT) && c2->c_face == NULL) {
char *h, *o;
if ((h = mp->m_host) == NULL)
- h = LocalName ();
+ h = LocalName (0);
if ((o = OfficialName (h)))
h = o;
c2->c_face = concat ("address ", h, " ", mp->m_mbox,
if ((o = OfficialName (h)))
h = o;
c2->c_face = concat ("address ", h, " ", mp->m_mbox,
@@
-1501,7
+1503,7
@@
face_format (struct mcomp *c1)
if ((mp = getm (cp, NULL, 0, AD_NAME, NULL))) {
char *h, *o;
if ((h = mp->m_host) == NULL)
if ((mp = getm (cp, NULL, 0, AD_NAME, NULL))) {
char *h, *o;
if ((h = mp->m_host) == NULL)
- h = LocalName ();
+ h = LocalName (0);
if ((o = OfficialName (h)))
h = o;
c1->c_face = concat ("address ", h, " ", mp->m_mbox, NULL);
if ((o = OfficialName (h)))
h = o;
c1->c_face = concat ("address ", h, " ", mp->m_mbox, NULL);