From f8ea188614d9adca1edb7070643d94b4a6fec228 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 27 Dec 2017 17:22:26 +0000 Subject: Debug: enhance output from smtp transport entry --- src/src/transports/smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index a1b677e19..01aa4190f 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -3733,7 +3733,7 @@ uschar *tid = string_sprintf("%s transport", tblock->name); smtp_transport_options_block *ob = (smtp_transport_options_block *)(tblock->options_block); host_item *hostlist = addrlist->host_list; -host_item *host = NULL; +host_item *host; DEBUG(D_transport) { @@ -3744,7 +3744,7 @@ DEBUG(D_transport) { debug_printf("hostlist:\n"); for (host = hostlist; host; host = host->next) - debug_printf(" %s:%d\n", host->name, host->port); + debug_printf(" '%s' IP %s port %d\n", host->name, host->address, host->port); } if (continue_hostname) debug_printf("already connected to %s [%s] (on fd %d)\n", -- cgit v1.2.3