summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_zstream.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-23 15:17:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-23 15:17:45 +0300
commit3d977685e7dbc7b1f5fa3264c8a014b5b5d5ec43 (patch)
tree3be179d8a33dd4ab623d330f628ef09f078f3fa4 /protocols/JabberG/src/jabber_zstream.cpp
parent475debe8c34567137be9c1fd2252ed8816c6da31 (diff)
code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber_zstream.cpp')
-rw-r--r--protocols/JabberG/src/jabber_zstream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_zstream.cpp b/protocols/JabberG/src/jabber_zstream.cpp
index 770f7bacbf..cd820ef2d8 100644
--- a/protocols/JabberG/src/jabber_zstream.cpp
+++ b/protocols/JabberG/src/jabber_zstream.cpp
@@ -82,7 +82,7 @@ int ThreadData::zlibSend(char* data, int datalen)
}
while (zStreamOut.avail_out == 0);
- if (db_get_b(NULL, "Netlib", "DumpSent", TRUE) == TRUE)
+ if (db_get_b(0, "Netlib", "DumpSent", TRUE) == TRUE)
proto->debugLogA("(ZLIB) Data sent\n%s\n===OUT: %d(%d) bytes", data, datalen, bytesOut);
return TRUE;
@@ -115,7 +115,7 @@ retry:
}
int len = datalen - zStreamIn.avail_out;
- if (db_get_b(NULL, "Netlib", "DumpRecv", TRUE) == TRUE) {
+ if (db_get_b(0, "Netlib", "DumpRecv", TRUE) == TRUE) {
char* szLogBuffer = (char*)alloca(len+32);
memcpy(szLogBuffer, data, len);
szLogBuffer[ len ]='\0';