summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/client.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-20 19:10:44 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-20 19:10:44 +0000
commit9f98d623506e7b7a86561152807526aeb2bb5be3 (patch)
tree271ff3535fa7cc8d2d74f82aebe179312c69aa9a /protocols/Omegle/src/client.h
parentc913257a1eb9b0fdcac33c1b45b309261048f761 (diff)
Omegle: Various code improvements (as reported by Coverity analyser); version bump
This also fixes no locking of EventsLoop (and eventually related issues) git-svn-id: http://svn.miranda-ng.org/main/trunk@11545 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/client.h')
-rw-r--r--protocols/Omegle/src/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Omegle/src/client.h b/protocols/Omegle/src/client.h
index 8506c14556..cc7894b382 100644
--- a/protocols/Omegle/src/client.h
+++ b/protocols/Omegle/src/client.h
@@ -44,6 +44,10 @@ public:
old_typing_ = typing_ = spy_mode_ = false;
+ error_count_ = 0;
+
+ parent = NULL;
+ handle_ = NULL;
hConnection = NULL;
hEventsConnection = NULL;
connection_lock_ = NULL;