summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2014-01-06 23:30:55 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-01-07 11:32:37 +0000
commit6e2ad3c8ca8e74df79843e05ae09d5461239dbea (patch)
treeea67f1f4892fbd222c16e7300185e3107b09cc7c
parent710bd4a94488585300458733748a0f2462abdf57 (diff)
downloaddbus-6e2ad3c8ca8e74df79843e05ae09d5461239dbea.tar.gz
Use dbus provided version of va_copy().
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72840 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--dbus/dbus-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c
index 32ac37a2..c6953d02 100644
--- a/dbus/dbus-message.c
+++ b/dbus/dbus-message.c
@@ -812,7 +812,7 @@ _dbus_message_iter_get_args_valist (DBusMessageIter *iter,
/* copy var_args first, then we can do another iteration over it to
* free memory and close unix fds if parse failed at some point.
*/
- va_copy (copy_args, var_args);
+ DBUS_VA_COPY (copy_args, var_args);
while (spec_type != DBUS_TYPE_INVALID)
{