From: Ralf Habacker Date: Mon, 6 Jan 2014 22:30:55 +0000 (+0100) Subject: Use dbus provided version of va_copy(). X-Git-Tag: dbus-1.8.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e2ad3c8ca8e74df79843e05ae09d5461239dbea;p=thirdparty%2Fdbus.git Use dbus provided version of va_copy(). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72840 Reviewed-by: Simon McVittie --- diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c index 32ac37a26..c6953d028 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) {