changeset 7239:3875b924d622

[gaim-migrate @ 7814] This should fix the problem where sending-im-msg causes segfaults. Other signal types are bound to also cause this problem. Yay for pointer madness and copy-and-paste-related issues. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 12 Oct 2003 05:25:41 +0000
parents 60aa7d4ebfba
children d3a7ff6a91bb
files plugins/perl/perl-common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/perl-common.c	Sun Oct 12 04:27:00 2003 +0000
+++ b/plugins/perl/perl-common.c	Sun Oct 12 05:25:41 2003 +0000
@@ -545,7 +545,7 @@
 				if ((*copy_arg = (void *)va_arg(*args, char *)) == NULL)
 					return &PL_sv_undef;
 
-				return newSVGChar(*(char **)*copy_arg);
+				return newSVGChar(*(char *)*copy_arg);
 
 			case GAIM_TYPE_POINTER:
 				if ((*copy_arg = (void *)va_arg(*args, void *)) == NULL)