changeset 3167:dab4da8ca29a

[gaim-migrate @ 3183] This is what I meant. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 25 Apr 2002 05:48:20 +0000
parents 2433056e9dab
children 255155a1b190
files src/perl.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/perl.c	Thu Apr 25 05:41:27 2002 +0000
+++ b/src/perl.c	Thu Apr 25 05:48:20 2002 +0000
@@ -715,9 +715,9 @@
 	case event_chat_recv:
 		{
 		char *t3, *t4;
-		t3 = g_strdup(escape_quotes(arg3));
-		t4 = arg4 ? g_strdup(escape_quotes(arg4)) : g_malloc0(1);
-		buf = g_strdup_printf("'%lu','%d','%s','%s'", (unsigned long)arg1, (int)arg2, *t3, *t4);
+		t3 = g_strdup(escape_quotes(*(char **)arg3));
+		t4 = *(char **)arg4 ? g_strdup(escape_quotes(*(char **)arg4)) : g_malloc0(1);
+		buf = g_strdup_printf("'%lu','%d','%s','%s'", (unsigned long)arg1, (int)arg2, t3, t4);
 		g_free(t3);
 		g_free(t4);
 		}