# HG changeset patch # User Hu Yong # Date 1226478549 0 # Node ID 80deea528c4b85744e25acf944fac9d709d53953 # Parent 699e8f0571acc5f2d10943dd3c4941620e522b79 Clean debug info diff -r 699e8f0571ac -r 80deea528c4b libpurple/protocols/qq/buddy_list.c --- 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);