summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard A Nelson (Rick) <cowboy@debian.org>2000-05-25 17:00:00 -0500
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 19:58:40 +0200
commite138436bd1943587e16b03505f8b8cc0307c4211 (patch)
tree23d7165ea5ea99bb43ae1568f4b74d5e59a3bddb /src
parent4e2c4cdcd62c4ab1d5e884e8afaa0bbe1b981e42 (diff)
downloadsendmail-e138436bd1943587e16b03505f8b8cc0307c4211.tar.gz
Imported Debian patch 8.9.3-23debian/8.9.3-23
Diffstat (limited to 'src')
-rw-r--r--src/main.c12
-rw-r--r--src/mime.c2
2 files changed, 1 insertions, 13 deletions
diff --git a/src/main.c b/src/main.c
index d1c7186..cea9d15 100644
--- a/src/main.c
+++ b/src/main.c
@@ -984,18 +984,6 @@ main(argc, argv, envp)
usrerr("Permission denied");
finis(FALSE, EX_USAGE);
}
- if (OpMode == MD_INITALIAS &&
- RealUid != 0 &&
- RealUid != TrustedUid &&
- !wordinclass(RealUserName, 't'))
- {
- if (LogLevel > 1)
- sm_syslog(LOG_ALERT, NOQID,
- "user %d attempted to rebuild the alias map",
- RealUid);
- usrerr("Permission denied");
- finis(FALSE, EX_USAGE);
- }
if (MeToo)
BlankEnvelope.e_flags |= EF_METOO;
diff --git a/src/mime.c b/src/mime.c
index 7156891..aea8f7e 100644
--- a/src/mime.c
+++ b/src/mime.c
@@ -443,7 +443,7 @@ mime8to7(mci, header, e, boundaries, flags)
{
/* no encoding necessary */
if (cte != NULL &&
- bitset(MCIF_INMIME, mci->mci_flags) &&
+ bitset(MCIF_INMIME, mci->mci_flags) &&
!bitset(M87F_NO8TO7, flags))
{
/*