diff libpurple/protocols/qq/sys_msg.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 8515997d66e9
children 9a5d140400f1
line wrap: on
line diff
--- a/libpurple/protocols/qq/sys_msg.c	Fri Mar 21 21:11:07 2008 +0000
+++ b/libpurple/protocols/qq/sys_msg.c	Mon Mar 24 07:14:29 2008 +0000
@@ -288,7 +288,7 @@
 	len = buf_len;
 	data = g_newa(guint8, len);
 
-	if (qq_crypt(DECRYPT, buf, buf_len, qd->session_key, data, &len)) {
+	if (qq_decrypt(buf, buf_len, qd->session_key, data, &len)) {
 		if (NULL == (segments = split_data(data, len, "\x1f", 4)))
 			return;
 		code = segments[0];