summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-05-25 15:48:11 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-05-25 16:34:35 +0100
commit3f63e46192d8d9ad72e9b25602615042bcc404f6 (patch)
treea4bd6c786045c2f97c8066055320d0f8997b2682 /src
parent84539f739b81c6b90ffdbfbdff090100470fe71b (diff)
Callouts: simplfy logging
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index 5f6108219..606c646fb 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -2133,8 +2133,7 @@ if (!continue_hostname)
}
set_errno_nohost(sx->addrlist,
errno == ETIMEDOUT ? ERRNO_CONNECTTIMEOUT : errno,
- sx->verify ? string_sprintf("could not connect: %s", msg)
- : NULL,
+ sx->verify ? msg : NULL,
DEFER, FALSE);
sx->send_quit = FALSE;
return DEFER;