summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/proto.cpp
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/proto.cpp
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/proto.cpp')
-rw-r--r--protocols/Omegle/src/proto.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp
index bc785a9c44..6a83523bf1 100644
--- a/protocols/Omegle/src/proto.cpp
+++ b/protocols/Omegle/src/proto.cpp
@@ -31,6 +31,7 @@ OmegleProto::OmegleProto(const char* proto_name, const TCHAR* username) :
this->log_lock_ = CreateMutex( NULL, FALSE, NULL );
this->facy.send_message_lock_ = CreateMutex( NULL, FALSE, NULL );
this->facy.connection_lock_ = CreateMutex( NULL, FALSE, NULL );
+ this->events_loop_lock_ = CreateMutex( NULL, FALSE, NULL );
// Group chats
CreateProtoService(PS_JOINCHAT, &OmegleProto::OnJoinChat);