Commit 1723ca9b authored by Benjamin Otte's avatar Benjamin Otte
Browse files

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
parent 2fc36c66
......@@ -31,6 +31,7 @@
#include <dlfcn.h>
#endif
#include <unistd.h>
#include <string.h> /* 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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment