summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/connection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-01 10:51:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-01 10:51:51 +0000
commit57a9a439a1fa94bc6c1d59230eae3a5360ff8272 (patch)
tree55193f66bb75a0c4ec0ba59ea8a85b22638acefc /protocols/WhatsApp/src/connection.cpp
parentace37acd4bd624593f97e8ed66383d9eb11e2d32 (diff)
fix for major handle leak
git-svn-id: http://svn.miranda-ng.org/main/trunk@11972 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/connection.cpp')
-rw-r--r--protocols/WhatsApp/src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/connection.cpp b/protocols/WhatsApp/src/connection.cpp
index 1eb90cd8ed..c0710e626e 100644
--- a/protocols/WhatsApp/src/connection.cpp
+++ b/protocols/WhatsApp/src/connection.cpp
@@ -136,7 +136,7 @@ void WhatsAppProto::sentinelLoop(void*)
void WhatsAppProto::onPing(const std::string& id)
{
- if (this->isOnline()) {
+ if (isOnline()) {
try {
debugLogA("Sending pong with id %s", id.c_str());
m_pConnection->sendPong(id);