summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/deliver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c
index 9b77f7d17..bf465c977 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -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
)