Fixes: bug #1002 - Message loss when using multiple deliveries
[users/heiko/exim.git] / src / src / deliver.c
index 941fec0433bce8fd508b1888af3f70c27e6182c6..668e4b2e5f5973960b1a14ea8132b17c6ed65e01 100644 (file)
@@ -624,7 +624,7 @@ for (dup = addr_duplicate; dup != NULL; dup = dup->next)
   {
   if (Ustrcmp(addr->unique, dup->unique) == 0)
     {
   {
   if (Ustrcmp(addr->unique, dup->unique) == 0)
     {
-    tree_add_nonrecipient(dup->address);
+    tree_add_nonrecipient(dup->unique);
     child_done(dup, now);
     }
   }
     child_done(dup, now);
     }
   }