Callouts: simplfy logging
[exim.git] / src / src / transports / smtp.c
index 5f610821981d1cb5a08065e46552b80242a74c7e..606c646fb85f06eb965ecb65c43de8e2f7d6a87a 100644 (file)
@@ -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;