X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/590795f4282e84ce9c2730bb17c7e6bb23615966..4833456868dd4370c3ab5c79dc1e1812dbb8a36d:/src/src/deliver.c?ds=sidebyside diff --git a/src/src/deliver.c b/src/src/deliver.c index 7127518e2..68152d505 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -8531,7 +8531,7 @@ uschar * where; if (cutthrough.cctx.sock >= 0 && cutthrough.callout_hold_only) { - int pfd[2], channel_fd = cutthrough.cctx.sock, pid; + int channel_fd = cutthrough.cctx.sock; smtp_peer_options = cutthrough.peer_options; continue_sequence = 0; @@ -8539,6 +8539,8 @@ if (cutthrough.cctx.sock >= 0 && cutthrough.callout_hold_only) #ifdef SUPPORT_TLS if (cutthrough.is_tls) { + int pfd[2], pid; + smtp_peer_options |= OPTION_TLS; sending_ip_address = cutthrough.snd_ip; sending_port = cutthrough.snd_port;