git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
273f34d
)
Turn MH's patch into my standard style. (Explicit != NULL in test).
author
Philip Hazel
<ph10@hermes.cam.ac.uk>
Thu, 25 Jan 2007 16:23:42 +0000
(16:23 +0000)
committer
Philip Hazel
<ph10@hermes.cam.ac.uk>
Thu, 25 Jan 2007 16:23:42 +0000
(16:23 +0000)
src/src/auths/dovecot.c
patch
|
blob
|
history
diff --git
a/src/src/auths/dovecot.c
b/src/src/auths/dovecot.c
index 421d5e793acf0a9c6c0495f01d719400b3f16a07..c0b4a57cbaf23ec09ebd219a3777d6e6240af41b 100644
(file)
--- 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>
/*
* 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" : "");
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";
auth_extra_data = US"secured\t";