Mercurial > pidgin.yaz
changeset 24579:80deea528c4b
Clean debug info
author | Hu Yong <ccpaging@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 08:29:09 +0000 |
parents | 699e8f0571ac |
children | e87465dfcaf0 |
files | libpurple/protocols/qq/buddy_list.c |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_list.c Wed Nov 12 08:28:52 2008 +0000 +++ b/libpurple/protocols/qq/buddy_list.c Wed Nov 12 08:29:09 2008 +0000 @@ -148,10 +148,9 @@ /* 015-030: unknown key */ bytes += qq_getdata(&(bs->unknown_key[0]), QQ_KEY_LENGTH, data + bytes); - purple_debug_info("QQ_STATUS", - "uid: %u, U1: %d, ip: %s:%d, U2:%d, status:%d, U3:%04X\n", - bs->uid, bs->unknown1, inet_ntoa(bs->ip), bs->port, - bs->unknown2, bs->status, bs->unknown3); + purple_debug_info("QQ", "Status:%d, uid: %u, ip: %s:%d, U: %d - %d - %04X\n", + bs->status, bs->uid, inet_ntoa(bs->ip), bs->port, + bs->unknown1, bs->unknown2, bs->unknown3); return bytes; } @@ -570,7 +569,7 @@ } bd = (buddy == NULL) ? NULL : (qq_buddy_data *) buddy->proto_data; if (bd == NULL) { - purple_debug_warning("QQ", "Get status of unknown buddy %u\n", bs.uid); + purple_debug_warning("QQ", "Got status of no-auth buddy %u\n", bs.uid); return; } @@ -630,7 +629,7 @@ break; } - purple_debug_info("QQ", "Update buddy %u status as %s\n", uid, status_id); + purple_debug_info("QQ", "buddy %u status = %s\n", uid, status_id); who = uid_to_purple_name(uid); purple_prpl_got_user_status(gc->account, who, status_id, NULL);