X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/adc03e34897563d1b7a6ff6252083b0003c34eef..b7d3afcfad94edf99a8dbc50ab670ded417e6bea:/src/src/deliver.c?ds=sidebyside diff --git a/src/src/deliver.c b/src/src/deliver.c index 262ae454f..56642c6aa 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -4500,8 +4500,11 @@ for (delivery_count = 0; addr_remote; delivery_count++) /* Set a flag indicating whether there are further addresses that list the continued host. This tells the transport to leave the channel open, but not to pass it to another delivery process. */ + /*XXX really the flag should be settable even by an initial proces + (not continue_transport dependent). Need to check that uses of it + are independent. */ - for (next = addr_remote; next; next = next->next) + for (next = addr_remote; next && !continue_more; next = next->next) { host_item *h; for (h = next->host_list; h; h = h->next)