From b471ea6f02d5cf413b8bee686a668a07c9746620 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 25 May 2019 22:43:23 +0100 Subject: Callouts: simplfy debug output --- src/src/transports/smtp.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 606c646fb..aed80cae9 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -2125,15 +2125,9 @@ if (!continue_hostname) { if ((sx->cctx.sock = smtp_connect(&sx->conn_args, NULL)) < 0) { - uschar * msg = NULL; - if (sx->verify) - { - msg = US strerror(errno); - HDEBUG(D_verify) debug_printf("connect: %s\n", msg); - } set_errno_nohost(sx->addrlist, errno == ETIMEDOUT ? ERRNO_CONNECTTIMEOUT : errno, - sx->verify ? msg : NULL, + sx->verify ? US strerror(errno) : NULL, DEFER, FALSE); sx->send_quit = FALSE; return DEFER; -- cgit v1.2.3