diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-mt.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 42b31f3272..af8dec71e4 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-10-18 Dan Winship <danw@ximian.com> + + * mail-mt.c (mail_call_main): Use va_copy to make this compile on + ppc again. + 2001-10-17 <NotZed@Ximian.com> * mail-folder-cache.c (store_folder_subscribed): Clone the diff --git a/mail/mail-mt.c b/mail/mail-mt.c index cf64485d85..ac2e71b7b5 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -926,7 +926,7 @@ void *mail_call_main(mail_call_t type, MailMainFunc func, ...) m = mail_msg_new(&mail_call_op, reply, sizeof(*m)); m->type = type; m->func = func; - m->ap = ap; + va_copy(m->ap, ap); if (!ismain) { e_msgport_put(mail_gui_port, (EMsg *)m); |