diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-19 01:30:04 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-19 01:30:04 +0800 |
commit | 72edd88061d3e714923b9f1832a7f0a7b7f32c4f (patch) | |
tree | dd45fd7deb5ba7c5fe378294be62b641369fa4dc /mail | |
parent | ddcc2e8d03de3e770eef86fc1ee6a49f9934355d (diff) | |
download | gsoc2013-evolution-72edd88061d3e714923b9f1832a7f0a7b7f32c4f.tar.gz gsoc2013-evolution-72edd88061d3e714923b9f1832a7f0a7b7f32c4f.tar.zst gsoc2013-evolution-72edd88061d3e714923b9f1832a7f0a7b7f32c4f.zip |
change va_copy to G_VA_COPY
svn path=/trunk/; revision=13753
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-mt.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index af8dec71e4..3ec284affd 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,7 +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. + * mail-mt.c (mail_call_main): Use G_VA_COPY to make this compile + on ppc again. + (do_call): Here too. 2001-10-17 <NotZed@Ximian.com> diff --git a/mail/mail-mt.c b/mail/mail-mt.c index ac2e71b7b5..9c3decf0e4 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -866,7 +866,9 @@ do_call(struct _mail_msg *mm) struct _call_msg *m = (struct _call_msg *)mm; void *p1, *p2, *p3, *p4, *p5; int i1; - va_list ap = m->ap; + va_list ap; + + G_VA_COPY(ap, m->ap); switch(m->type) { case MAIL_CALL_p_p: @@ -926,7 +928,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; - va_copy(m->ap, ap); + G_VA_COPY(m->ap, ap); if (!ismain) { e_msgport_put(mail_gui_port, (EMsg *)m); |