On callout avoid SIZE every time but noncacheable rcpt main-verify. Bug 2151
[exim.git] / src / src / deliver.c
index 9b77f7d17210400becb0cbee6325261ee5b2ca4c..49281f93d47aa835f4ab9f4f28d734ba17a835f5 100644 (file)
@@ -4465,7 +4465,7 @@ for (delivery_count = 0; addr_remote; delivery_count++)
       {
       smtp_transport_options_block * ob;
 
-      if (  !(  tp->info->driver_name == US"smtp"
+      if (  !(  Ustrcmp(tp->info->driver_name, "smtp") == 0
             && (ob = (smtp_transport_options_block *)tp->options_block)
             && ob->hosts_override && ob->hosts
             )
@@ -8474,7 +8474,7 @@ if (cutthrough.fd >= 0 && cutthrough.callout_hold_only)
 #ifdef SUPPORT_TLS
   if (cutthrough.is_tls)
     {
-    smtp_peer_options |= PEER_OFFERED_TLS;
+    smtp_peer_options |= OPTION_TLS;
     sending_ip_address = cutthrough.snd_ip;
     sending_port = cutthrough.snd_port;