summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/auths/dovecot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/src/auths/dovecot.c b/src/src/auths/dovecot.c
index 61b0f0b4f..421d5e793 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.4 2007/01/23 12:22:00 ph10 Exp $ */
+/* $Cambridge: exim/src/src/auths/dovecot.c,v 1.5 2007/01/24 17:14:27 magnus Exp $ */
/*
* Copyright (c) 2004 Andrey Panin <pazke@donpac.ru>
@@ -205,7 +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 (Ustrcmp(sender_host_address, interface_address) == 0)
+ else if (interface_address
+ && Ustrcmp(sender_host_address, interface_address) == 0)
auth_extra_data = US"secured\t";