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/WASocketConnection.cpp | |
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/WASocketConnection.cpp')
-rw-r--r-- | protocols/WhatsApp/src/WASocketConnection.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/WhatsApp/src/WASocketConnection.cpp b/protocols/WhatsApp/src/WASocketConnection.cpp index 6852fb92dd..00e3aa9933 100644 --- a/protocols/WhatsApp/src/WASocketConnection.cpp +++ b/protocols/WhatsApp/src/WASocketConnection.cpp @@ -134,21 +134,6 @@ void WASocketConnection::forceShutdown() Netlib_Shutdown(this->hConn);
}
-void WASocketConnection::dump(const void *pData, int length)
-{
- BYTE *pBuf = (BYTE*)pData;
- while (length > 0) {
- int portion = (length < 16) ? length : 16;
-
- char str[100];
- for (int i = 0; i < portion; i++)
- sprintf(str + i * 3, "%02X ", *pBuf++);
- Netlib_Logf(WASocketConnection::hNetlibUser, "DATA: %s", str);
-
- length -= portion;
- }
-}
-
void WASocketConnection::log(const char *str)
{
Netlib_Logf(WASocketConnection::hNetlibUser, "STR: %s", str);
|