From 15683eb58c0d154f5dda82def6eccfdb2e3e76d2 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 18 May 2011 18:10:45 +0300 Subject: [PATCH] Fix infinite loop while sending messages repeatedly --- projects/stargazer/user_impl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index d89bbe47..7f2d5e0b 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -1281,6 +1281,10 @@ while (it != messages.end()) ++it; } } + else + { + ++it; + } } } //----------------------------------------------------------------------------- -- 2.43.2