From: Philip Hazel Date: Thu, 25 Jan 2007 16:23:42 +0000 (+0000) Subject: Turn MH's patch into my standard style. (Explicit != NULL in test). X-Git-Tag: exim-4_67~56 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=094a9ec3772cfee192263fce6346a47b6c472bee;p=exim.git Turn MH's patch into my standard style. (Explicit != NULL in test). --- 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";