diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2007-01-25 16:23:42 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2007-01-25 16:23:42 +0000 |
commit | 094a9ec3772cfee192263fce6346a47b6c472bee (patch) | |
tree | 475d0e377b6ce4f0574207794166e734180ca5cd | |
parent | 273f34d076393a3df1b85a93f10d16f1a68f66a1 (diff) |
Turn MH's patch into my standard style. (Explicit != NULL in test).
-rw-r--r-- | src/src/auths/dovecot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/auths/dovecot.c b/src/src/auths/dovecot.c index 421d5e793..c0b4a57cb 100644 --- a/src/src/auths/dovecot.c +++ b/src/src/auths/dovecot.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/auths/dovecot.c,v 1.5 2007/01/24 17:14:27 magnus Exp $ */ +/* $Cambridge: exim/src/src/auths/dovecot.c,v 1.6 2007/01/25 16:23:42 ph10 Exp $ */ /* * Copyright (c) 2004 Andrey Panin <pazke@donpac.ru> @@ -205,8 +205,8 @@ int auth_dovecot_server(auth_instance *ablock, uschar *data) auth_extra_data = string_sprintf("secured\t%s%s", tls_certificate_verified? "valid-client-cert" : "", tls_certificate_verified? "\t" : ""); - else if (interface_address - && Ustrcmp(sender_host_address, interface_address) == 0) + else if (interface_address != NULL && + Ustrcmp(sender_host_address, interface_address) == 0) auth_extra_data = US"secured\t"; |