Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/buddy_info.c @ 24578:699e8f0571ac
Clean debug info
author | Hu Yong <ccpaging@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 08:28:52 +0000 |
parents | 16434c2b52f4 |
children | fecedf6d9ee1 |
comparison
equal
deleted
inserted
replaced
24577:8084892eb422 | 24578:699e8f0571ac |
---|---|
814 while (data_len - bytes >= 12) { | 814 while (data_len - bytes >= 12) { |
815 bytes += qq_get32(&uid, data + bytes); | 815 bytes += qq_get32(&uid, data + bytes); |
816 bytes += qq_get32(&onlineTime, data + bytes); | 816 bytes += qq_get32(&onlineTime, data + bytes); |
817 bytes += qq_get16(&level, data + bytes); | 817 bytes += qq_get16(&level, data + bytes); |
818 bytes += qq_get16(&timeRemainder, data + bytes); | 818 bytes += qq_get16(&timeRemainder, data + bytes); |
819 purple_debug_info("QQ_LEVEL", "%d, tmOnline: %d, level: %d, tmRemainder: %d\n", | 819 purple_debug_info("QQ", "level: %d, uid %d, tmOnline: %d, tmRemainder: %d\n", |
820 uid, onlineTime, level, timeRemainder); | 820 level, uid, onlineTime, timeRemainder); |
821 | 821 |
822 bd = qq_buddy_data_find(gc, uid); | 822 bd = qq_buddy_data_find(gc, uid); |
823 if (bd == NULL) { | 823 if (bd == NULL) { |
824 purple_debug_error("QQ", "Got levels of %u not in my buddy list\n", uid); | 824 purple_debug_error("QQ", "Got levels of %u not in my buddy list\n", uid); |
825 continue; | 825 continue; |
849 bytes = 0; | 849 bytes = 0; |
850 bytes += qq_get32(&uid, data + bytes); | 850 bytes += qq_get32(&uid, data + bytes); |
851 bytes += qq_get32(&onlineTime, data + bytes); | 851 bytes += qq_get32(&onlineTime, data + bytes); |
852 bytes += qq_get16(&level, data + bytes); | 852 bytes += qq_get16(&level, data + bytes); |
853 bytes += qq_get16(&timeRemainder, data + bytes); | 853 bytes += qq_get16(&timeRemainder, data + bytes); |
854 purple_debug_info("QQ_LEVEL", "%d, tmOnline: %d, level: %d, tmRemainder: %d\n", | 854 purple_debug_info("QQ", "level: %d, uid %d, tmOnline: %d, tmRemainder: %d\n", |
855 uid, onlineTime, level, timeRemainder); | 855 level, uid, onlineTime, timeRemainder); |
856 | 856 |
857 bd = qq_buddy_data_find(gc, uid); | 857 bd = qq_buddy_data_find(gc, uid); |
858 if (bd == NULL) { | 858 if (bd == NULL) { |
859 purple_debug_error("QQ", "Got levels of %u not in my buddy list\n", uid); | 859 purple_debug_error("QQ", "Got levels of %u not in my buddy list\n", uid); |
860 return; | 860 return; |