projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check for "<<>>" etc as equivalent to "<>"
[unix-history]
/
usr
/
src
/
usr.sbin
/
sendmail
/
src
/
savemail.c
diff --git
a/usr/src/usr.sbin/sendmail/src/savemail.c
b/usr/src/usr.sbin/sendmail/src/savemail.c
index
508ab45
..
c4b0a47
100644
(file)
--- a/
usr/src/usr.sbin/sendmail/src/savemail.c
+++ b/
usr/src/usr.sbin/sendmail/src/savemail.c
@@
-7,7
+7,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)savemail.c 8.3
8
(Berkeley) %G%";
+static char sccsid[] = "@(#)savemail.c 8.3
9
(Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
@@
-231,7
+231,7
@@
savemail(e)
(void) sendtolist("postmaster",
NULLADDR, &e->e_errorqueue, e);
}
(void) sendtolist("postmaster",
NULLADDR, &e->e_errorqueue, e);
}
- if (
strcmp(e->e_from.q_paddr, "<>") != 0
)
+ if (
!emptyaddr(&e->e_from)
)
{
(void) sendtolist(e->e_from.q_paddr,
NULLADDR, &e->e_errorqueue, e);
{
(void) sendtolist(e->e_from.q_paddr,
NULLADDR, &e->e_errorqueue, e);