From 48da425923d2c912902cc946782e4ea8075a4386 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Wed, 18 Oct 2006 08:55:37 +0000 Subject: Fix tls_required and lost_connection retry testss not working. --- src/ACKNOWLEDGMENTS | 5 +++-- src/src/readconf.c | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/ACKNOWLEDGMENTS b/src/ACKNOWLEDGMENTS index 049e30969..771e6ec08 100644 --- a/src/ACKNOWLEDGMENTS +++ b/src/ACKNOWLEDGMENTS @@ -1,4 +1,4 @@ -$Cambridge: exim/src/ACKNOWLEDGMENTS,v 1.58 2006/10/16 10:58:40 ph10 Exp $ +$Cambridge: exim/src/ACKNOWLEDGMENTS,v 1.59 2006/10/18 08:55:37 ph10 Exp $ EXIM ACKNOWLEDGEMENTS @@ -20,7 +20,7 @@ relatively small patches. Philip Hazel Lists created: 20 November 2002 -Last updated: 16 October 2006 +Last updated: 18 October 2006 THE OLD LIST @@ -94,6 +94,7 @@ Oliver Cook Suggested patch for exigrep & rejected messages Jennifer Corley Designing the new Exim logo John Dalbec Patch for quota_warn_threshold bug Vivek Dasmohapatra Suggested patch for CRL support +Dennis Davis Suggested server_condition for all authenticators Andrew Doran Patch for NetBSD configuration files Patch for ifreq alignment and size problems Michael Deutschmann Suggested patch for treating bind() failure like connect() diff --git a/src/src/readconf.c b/src/src/readconf.c index fd04ab328..11f53987c 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/readconf.c,v 1.24 2006/09/19 11:28:45 ph10 Exp $ */ +/* $Cambridge: exim/src/src/readconf.c,v 1.25 2006/10/18 08:55:38 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -3455,10 +3455,10 @@ else if (len == 4 && strncmpic(pp, US"auth", len) == 0 && strncmpic(q+1, US"failed", p-q-1) == 0) *basic_errno = ERRNO_AUTHFAIL; -else if (strcmpic(pp, US"lost_connection") == 0) +else if (strncmpic(pp, US"lost_connection", p - pp) == 0) *basic_errno = ERRNO_SMTPCLOSED; -else if (strcmpic(pp, US"tls_required") == 0) +else if (strncmpic(pp, US"tls_required", p - pp) == 0) *basic_errno = ERRNO_TLSREQUIRED; else if (len != 1 || Ustrncmp(pp, "*", 1) != 0) -- cgit v1.2.3