pidgin.openq: 4518ce07: Clean debug info
ccpaging at pidgin.im
ccpaging at pidgin.im
Wed Dec 3 23:21:05 EST 2008
-----------------------------------------------------------------
Revision: 4518ce07474171833ffbea6ef8d0c8c81226be28
Ancestor: 3b5956ce49f1e161236c0370cf56d92c5ca825af
Author: ccpaging at pidgin.im
Date: 2008-11-12T08:29:09
Branch: im.pidgin.pidgin.openq
URL: http://d.pidgin.im/viewmtn/revision/info/4518ce07474171833ffbea6ef8d0c8c81226be28
Modified files:
libpurple/protocols/qq/buddy_list.c
ChangeLog:
Clean debug info
-------------- next part --------------
============================================================
--- libpurple/protocols/qq/buddy_list.c 0a92141187a2ff68f6addf7095efeca8945dc3ea
+++ libpurple/protocols/qq/buddy_list.c b7839c214f8b686da4e75148447475890095a4d7
@@ -148,10 +148,9 @@ static gint get_buddy_status(qq_buddy_st
/* 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 @@ void qq_process_buddy_change_status(guin
}
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 @@ void qq_update_buddy_status(PurpleConnec
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);
More information about the Commits
mailing list