diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-07 19:15:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-07 19:15:59 +0000 |
commit | 9540f9a510f3eaab57285c56198d270c648d54a1 (patch) | |
tree | 6a3dcb5105291a9daa773dfa5c697551d1a5a608 /protocols/WhatsApp/src/WhatsAPI++ | |
parent | f2b7041639a5b3db05b456f3e14bf627075c5ccb (diff) |
thx, we don't need dumps anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@12043 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeReader.cpp | 1 | ||||
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp | 1 | ||||
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeReader.cpp b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeReader.cpp index ead6a9ac06..851d4599da 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeReader.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeReader.cpp @@ -86,7 +86,6 @@ void BinTreeNodeReader::decodeStream(int flags, int offset, int length) this->conn->inputKey.decodeMessage(pData, offset + length, 0, length);
}
- this->rawIn->dump(pData + offset, length);
if (this->in != NULL)
delete this->in;
diff --git a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp index 00909b6855..e527e2c25b 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp @@ -48,7 +48,6 @@ void BinTreeNodeWriter::processBuffer() throw WAException("Buffer too large: " + num3, WAException::CORRUPT_STREAM_EX, 0);
std::vector<unsigned char>& buffer = out->getBuffer();
- this->realOut->dump(buffer.data(), (int)buffer.size());
if (bSecure) {
int num4 = (int)num3 - 4;
this->conn->outputKey.encodeMessage(buffer.data(), this->dataBegin + 3 + num4, this->dataBegin + 3, num4);
diff --git a/protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h b/protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h index 82123f2fd8..0661b23945 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h +++ b/protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h @@ -20,7 +20,6 @@ public: virtual int waitForRead() = 0;
virtual void forceShutdown() = 0;
- virtual void dump(const void *buf, int length) = 0;
virtual void log(const char *str) = 0;
};
|