libpurple/protocols/qq/file_trans.c

changeset 28502
43d342af25d4
parent 24341
02abffea97fe
child 28503
8d1231f37749
--- a/libpurple/protocols/qq/file_trans.c	Fri Sep 04 21:12:11 2009 +0000
+++ b/libpurple/protocols/qq/file_trans.c	Fri Sep 04 22:50:26 2009 +0000
@@ -334,7 +334,7 @@
 		raw_data, bytes,
 		"sending packet[%s]:", qq_get_file_cmd_desc(packet_type));
 
-	encrypted = g_newa(guint8, bytes + 16);
+	encrypted = g_newa(guint8, bytes + 17);
 	encrypted_len = qq_encrypt(encrypted, raw_data, bytes, info->file_session_key);
 	/*debug: try to decrypt it */
 

mercurial