From 9191bad28f26140907caac7b598ab9de4a312535 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Apr 2015 15:42:32 +0000 Subject: debug print added git-svn-id: http://svn.miranda-ng.org/main/trunk@12658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/fam_03buddy.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'protocols/IcqOscarJ/src/fam_03buddy.cpp') 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); -- cgit v1.2.3