aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-19 01:00:37 +0800
committerDan Winship <danw@src.gnome.org>2001-10-19 01:00:37 +0800
commit40964e5cccd7012711738e6161c023e08b8c0432 (patch)
tree1fd7cc2bd892b99eefd90748a8b3024086af09a7
parent1f47fd1ea0c652ac02f907df154f5cff399e3a8f (diff)
downloadgsoc2013-evolution-40964e5cccd7012711738e6161c023e08b8c0432.tar.gz
gsoc2013-evolution-40964e5cccd7012711738e6161c023e08b8c0432.tar.zst
gsoc2013-evolution-40964e5cccd7012711738e6161c023e08b8c0432.zip
Use va_copy to make this compile on ppc again.
* mail-mt.c (mail_call_main): Use va_copy to make this compile on ppc again. svn path=/trunk/; revision=13749
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-mt.c2
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);