changeset 2677:52342b416ca2

[gaim-migrate @ 2690] John Watson pointed this out. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 05 Nov 2001 20:41:52 +0000
parents cfe797cf62ef
children aa06a77990f1
files src/perl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/perl.c	Mon Nov 05 15:29:34 2001 +0000
+++ b/src/perl.c	Mon Nov 05 20:41:52 2001 +0000
@@ -761,7 +761,7 @@
 		char *tmp2, *tmp3;
 		tmp2 = g_strdup(escape_quotes(arg2));
 		tmp3 = arg3 ? g_strdup(escape_quotes(arg3)) : g_malloc0(1);
-		buf = g_strdup_printf("%lu \"%s\" %s", (unsigned long)arg1, tmp2, tmp3);
+		buf = g_strdup_printf("'%lu','\"%s\"','%s'", (unsigned long)arg1, tmp2, tmp3);
 		g_free(tmp2);
 		g_free(tmp3);
 		}