diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-26 20:54:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-26 20:54:25 +0000 |
commit | 0acc48076d8b2148d60d8a2532753c1eb06de276 (patch) | |
tree | abbc11dba7e92f98d1fc66d9537e91e8f28b1e84 /protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp | |
parent | de6c7df3c362fa0104e7d908c29614266caaa9d6 (diff) |
fix for sending messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@11919 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp index 7ec854878a..e9b6377879 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp @@ -260,6 +260,12 @@ void BinTreeNodeWriter::write(const ProtocolTreeNode &node, bool needsFlush) this->mutex->lock();
try {
this->writeDummyHeader();
+ #ifdef _DEBUG
+ if (bSecure) {
+ string tmp = node.toString();
+ this->realOut->log(tmp.c_str());
+ }
+ #endif
writeInternal(node);
flushBuffer(needsFlush);
}
|