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/mail-mt.c | |
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/mail-mt.c')
-rw-r--r-- | mail/mail-mt.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); |