make address functions a lot better, and less error prone.
[apps/madmutt.git] / crypt-gpgme.c
index b44a9ba..32efdb7 100644 (file)
@@ -3688,7 +3688,7 @@ static char *find_keys (address_t * to, address_t * cc, address_t * bcc,
       abort ();
     }
 
-    *last = rfc822_cpy_adr (p);
+    *last = address_list_dup (p);
     while (*last)
       last = &((*last)->next);
   }