diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-07 23:30:29 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-07 23:30:29 +0000 |
commit | d6842f4f1341f82f0f80a90eb7fff220cdfb28af (patch) | |
tree | 296da4ff1c57a56cc18d503c2097d1a784df4d8c | |
parent | 1c8262d019c19b69ca5af09df5fb4fdbb177cdd7 (diff) |
Steam: Fix infinite loop when switching to offline when there are still requests in queue
git-svn-id: http://svn.miranda-ng.org/main/trunk@11267 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/Steam/src/steam_queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_queue.cpp b/protocols/Steam/src/steam_queue.cpp index b0a7c959d9..a134aa9890 100644 --- a/protocols/Steam/src/steam_queue.cpp +++ b/protocols/Steam/src/steam_queue.cpp @@ -47,7 +47,7 @@ void CSteamProto::StopQueue() int count = requestsQueue.getCount();
while (count > 0)
- requestsQueue.remove(count - 1);
+ requestsQueue.remove(--count);
}
// logoff
|