diff libpurple/protocols/qq/recv_core.c @ 22544:217fffe3f46f

Patch from ccpaging to clean up some QQ stuff. I removed the now commented out qq_crypt() instead of, well, comment it out.
author Ka-Hing Cheung <khc@hxbc.us>
date Mon, 24 Mar 2008 07:14:29 +0000
parents ba41f2a60253
children 9a5d140400f1
line wrap: on
line diff
--- a/libpurple/protocols/qq/recv_core.c	Fri Mar 21 21:11:07 2008 +0000
+++ b/libpurple/protocols/qq/recv_core.c	Mon Mar 24 07:14:29 2008 +0000
@@ -91,7 +91,7 @@
 	msg_utf8 = NULL;
 
 	_qq_show_packet("Processing unknown packet", buf, len);
-	if (qq_crypt(DECRYPT, buf, buf_len, qd->session_key, data, &len)) {
+	if (qq_decrypt(buf, buf_len, qd->session_key, data, &len)) {
 		gchar *hex_dump = hex_dump_to_str(data, len);
 		purple_debug(PURPLE_DEBUG_WARNING, "QQ",
 			   ">>> [%d] %s, %d bytes -> [default] decrypt and dump\n%s",