diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-05-25 22:43:23 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-05-25 23:39:41 +0100 |
commit | b471ea6f02d5cf413b8bee686a668a07c9746620 (patch) | |
tree | c15d3f72cdbac218abe64cb4e2772687a8fd5426 /src | |
parent | 3f63e46192d8d9ad72e9b25602615042bcc404f6 (diff) |
Callouts: simplfy debug output
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/smtp.c | 8 |
1 files changed, 1 insertions, 7 deletions
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; |