From 094a9ec3772cfee192263fce6346a47b6c472bee Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Thu, 25 Jan 2007 16:23:42 +0000 Subject: Turn MH's patch into my standard style. (Explicit != NULL in test). --- src/src/auths/dovecot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ -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"; -- cgit v1.2.3