libpurple/protocols/yahoo/yahoo.c

changeset 25335
f1039393e25a
parent 24858
13177815fd88
child 25709
1e8f68e5bdc6
child 25855
f2aac5656e7d
child 25942
801d5db5f26b
child 26186
18143bdefcd4
child 26368
d6d207874936
--- a/libpurple/protocols/yahoo/yahoo.c	Fri Jan 02 07:42:04 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Fri Jan 02 07:43:30 2009 +0000
@@ -4167,8 +4167,7 @@
 	           "Trying to join %s \n", args[0]);
 
 	comp = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
-	g_hash_table_replace(comp, g_strdup("room"),
-	g_strdup_printf("%s", g_ascii_strdown(args[0], strlen(args[0]))));
+	g_hash_table_replace(comp, g_strdup("room"), g_ascii_strdown(args[0], -1));
 	g_hash_table_replace(comp, g_strdup("type"), g_strdup("Chat"));
 
 	yahoo_c_join(gc, comp);

mercurial