[exim-cvs] tidying

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] tidying
Gitweb: https://git.exim.org/exim.git/commitdiff/d78e97406b4d15e53a9eeb345ac07dc2fa69689e
Commit:     d78e97406b4d15e53a9eeb345ac07dc2fa69689e
Parent:     65fe780259d0009354b5dfc9a4f1b48ad6513db2
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Jul 9 12:27:12 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Thu Jul 9 12:27:12 2020 +0100


    tidying
---
 src/src/exim.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


diff --git a/src/src/exim.c b/src/src/exim.c
index 3edbc29..6454bc6 100644
--- 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. */

-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);
-    if (originator_name == NULL && unknown_username != NULL)
+    if (!originator_name && 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);
   }