Do not rely on linker identifying common strings
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 18 Jul 2017 22:29:54 +0000 (23:29 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 18 Jul 2017 22:29:54 +0000 (23:29 +0100)
src/src/deliver.c

index 9b77f7d17210400becb0cbee6325261ee5b2ca4c..bf465c977511020bbd11362df9d11704d0f70dfa 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
             )