diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-12-27 17:22:26 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-12-28 21:03:52 +0000 |
commit | f8ea188614d9adca1edb7070643d94b4a6fec228 (patch) | |
tree | 03d68616002e4f2df3501e31631dc4f4ca7a99ff /src | |
parent | a05d3e341fae03426a9caa9c5e9ce8fe60e3d384 (diff) |
Debug: enhance output from smtp transport entry
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/smtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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", |