diff options
author | Magnus Holmgren <holmgren@lysator.liu.se> | 2007-01-24 17:14:27 +0000 |
---|---|---|
committer | Magnus Holmgren <holmgren@lysator.liu.se> | 2007-01-24 17:14:27 +0000 |
commit | c75df3d220bfabed85b70752228bbb1c6e5fddc9 (patch) | |
tree | 30b92ad15d457ba2a632cc23344cb73c20d4b522 | |
parent | 6bf342e1eb87c656de34d668d7303a7d0138e89a (diff) |
I think the actual fix to bug #448 got lost somehow...
-rw-r--r-- | src/src/auths/dovecot.c | 5 |
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"; |