git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
65fe780
)
tidying
author
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 9 Jul 2020 11:27:12 +0000
(12:27 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 9 Jul 2020 11:27:12 +0000
(12:27 +0100)
src/src/exim.c
patch
|
blob
|
history
diff --git
a/src/src/exim.c
b/src/src/exim.c
index 3edbc29d3044957f049136c515d0ff69f0a69271..6454bc6ae6c3f47d4dd43d48b8e385bdb54d32fc 100644
(file)
--- a/
src/src/exim.c
+++ b/
src/src/exim.c
@@
-4758,16
+4758,16
@@
for (i = 0;;)
configuration specifies something to use. When running in the test harness,
any setting of unknown_login overrides the actual name. */
configuration specifies something to use. When running in the test harness,
any setting of unknown_login overrides the actual name. */
-if (
originator_login == NULL
|| f.running_in_test_harness)
+if (
!originator_login
|| f.running_in_test_harness)
{
{
- if (unknown_login
!= NULL
)
+ if (unknown_login)
{
originator_login = expand_string(unknown_login);
{
originator_login = expand_string(unknown_login);
- if (
originator_name == NULL && unknown_username != NULL
)
+ if (
!originator_name && unknown_username
)
originator_name = expand_string(unknown_username);
originator_name = expand_string(unknown_username);
- if (
originator_name == NULL
) originator_name = US"";
+ if (
!originator_name
) originator_name = US"";
}
}
- if (
originator_login == NULL
)
+ if (
!originator_login
)
log_write(0, LOG_MAIN|LOG_PANIC_DIE, "Failed to get user name for uid %d",
(int)real_uid);
}
log_write(0, LOG_MAIN|LOG_PANIC_DIE, "Failed to get user name for uid %d",
(int)real_uid);
}