diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-07 15:42:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-07 15:42:32 +0000 |
commit | 9191bad28f26140907caac7b598ab9de4a312535 (patch) | |
tree | f92293ce0ad6474777dcc88ec4b821eb05c389ee | |
parent | 1d28f884c5750602ab5479c6ee978ba9e14adf9d (diff) |
debug print added
git-svn-id: http://svn.miranda-ng.org/main/trunk@12658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/IcqOscarJ/src/fam_03buddy.cpp | 8 |
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);
|