From 1723ca9b198dbd5404341b3912a49213723cb45c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 12 Jan 2004 22:33:11 +0000 Subject: [PATCH] use G_VA_COPY instead of directly assigning va_lists Original commit message from CVS: use G_VA_COPY instead of directly assigning va_lists --- gst/gstinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index dd2d29187c..b70f78f392 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -31,6 +31,7 @@ #include #endif #include +#include /* G_VA_COPY */ #include "gstinfo.h" #include "gstlog.h" #include "gst_private.h" @@ -295,7 +296,7 @@ void gst_debug_log_valist (GstDebugCategory *category, GstDebugLevel level, message.message = NULL; message.format = format; - message.arguments = args; + G_VA_COPY (message.arguments, args); handler = __log_functions; while (handler) {