changeset 8142:f2919ca98e78

[gaim-migrate @ 8850] This goes out to all the cave men out there who don't have va_copy committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Mon, 19 Jan 2004 22:13:50 +0000
parents 5efe3d9cd552
children 8633dc570442
files src/signals.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/signals.c	Mon Jan 19 21:19:51 2004 +0000
+++ b/src/signals.c	Mon Jan 19 22:13:50 2004 +0000
@@ -443,7 +443,7 @@
 
 		/* This is necessary because a va_list may only be
 		 * evaluated once */
-		va_copy(tmp, args);
+		G_VA_COPY(tmp, args);
 
 		if (handler_data->use_vargs)
 		{
@@ -511,7 +511,7 @@
 
 		handler_data = (GaimSignalHandlerData *)l->data;
 
-		va_copy(tmp, args);
+		G_VA_COPY(tmp, args);
 		if (handler_data->use_vargs)
 		{
 			ret_val = ((void *(*)(va_list, void *))handler_data->cb)(