summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/fam_03buddy.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/IcqOscarJ/src/fam_03buddy.cpp b/protocols/IcqOscarJ/src/fam_03buddy.cpp
index 621f502c12..057d7403b1 100644
--- a/protocols/IcqOscarJ/src/fam_03buddy.cpp
+++ b/protocols/IcqOscarJ/src/fam_03buddy.cpp
@@ -367,6 +367,14 @@ void CIcqProto::handleUserOnline(BYTE *buf, size_t wLen, serverthread_info*)
}
if (capLen) {
+ #ifdef _DEBUG
+ for (WORD i = 0; i < capLen; i += BINARY_CAP_SIZE) {
+ char tmp[100];
+ bin2hex(capBuf + i, BINARY_CAP_SIZE, tmp);
+ debugLogA("Capability: %s", tmp);
+ }
+ #endif
+
// Update the contact's capabilies if present in packet
SetCapabilitiesFromBuffer(hContact, capBuf, capLen, wOldStatus == ID_STATUS_OFFLINE);