summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/request_queue.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-10 18:26:49 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-10 18:26:49 +0000
commite372b5c98c28088a666e8f8050c0ec57e7b326de (patch)
tree5556e072c2b649f598c51404b184880f928af0f6 /protocols/SkypeWeb/src/request_queue.cpp
parent9cecda91ac7e563b14fdba9d9cd5feea3faccf69 (diff)
SkypeWeb: Fixed some bugs from coverity
git-svn-id: http://svn.miranda-ng.org/main/trunk@12751 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/request_queue.cpp')
-rw-r--r--protocols/SkypeWeb/src/request_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/request_queue.cpp b/protocols/SkypeWeb/src/request_queue.cpp
index 258fc3d5d4..ac10e9c9c7 100644
--- a/protocols/SkypeWeb/src/request_queue.cpp
+++ b/protocols/SkypeWeb/src/request_queue.cpp
@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
RequestQueue::RequestQueue(HANDLE hConnection) :
hConnection(hConnection), requests(1)
{
+ isTerminated = false;
hRequestQueueThread = NULL;
hRequestQueueEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
}
@@ -35,7 +36,6 @@ void RequestQueue::Start()
if (!isTerminated)
return;
- isTerminated = false;
if (hRequestQueueThread == NULL)
hRequestQueueThread = mir_forkthread((pThreadFunc)&RequestQueue::WorkerThread, this);
}