Make dnssec status available in tpda delivery event, for cutthrough
[exim.git] / src / src / verify.c
index c25e6e2574a1276123a5ea0224c19d18f1d2ec69..29d7b13286d51c2c2971cdcfd3b641441d28b655 100644 (file)
@@ -1044,9 +1044,7 @@ else
       cutthrough_addr = *addr;         /* Save the address_item for later logging */
       cutthrough_addr.next =     NULL;
       cutthrough_addr.host_used = store_get(sizeof(host_item));
-      cutthrough_addr.host_used->name =    host->name;
-      cutthrough_addr.host_used->address = host->address;
-      cutthrough_addr.host_used->port =    port;
+      *(cutthrough_addr.host_used) = *host;
       if (addr->parent)
         *(cutthrough_addr.parent = store_get(sizeof(address_item)))= *addr->parent;
       ctblock.buffer = ctbuffer;