Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
22543:06f195789c3e | 22544:217fffe3f46f |
---|---|
286 | 286 |
287 qd = (qq_data *) gc->proto_data; | 287 qd = (qq_data *) gc->proto_data; |
288 len = buf_len; | 288 len = buf_len; |
289 data = g_newa(guint8, len); | 289 data = g_newa(guint8, len); |
290 | 290 |
291 if (qq_crypt(DECRYPT, buf, buf_len, qd->session_key, data, &len)) { | 291 if (qq_decrypt(buf, buf_len, qd->session_key, data, &len)) { |
292 if (NULL == (segments = split_data(data, len, "\x1f", 4))) | 292 if (NULL == (segments = split_data(data, len, "\x1f", 4))) |
293 return; | 293 return; |
294 code = segments[0]; | 294 code = segments[0]; |
295 from = segments[1]; | 295 from = segments[1]; |
296 to = segments[2]; | 296 to = segments[2]; |