# HG changeset patch # User Sean Egan # Date 1019713700 0 # Node ID dab4da8ca29a4ff5ec36134e80216e399fd5c80c # Parent 2433056e9dab1825bf4eabb338e6f2a0ae4bc84b [gaim-migrate @ 3183] This is what I meant. committer: Tailor Script diff -r 2433056e9dab -r dab4da8ca29a src/perl.c --- 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); }