]> git.stg.codes - stg.git/commitdiff
Fix infinite loop while sending messages repeatedly
authorMaxim Mamontov <faust@gts.dp.ua>
Wed, 18 May 2011 15:10:45 +0000 (18:10 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Wed, 18 May 2011 15:10:45 +0000 (18:10 +0300)
projects/stargazer/user_impl.cpp

index d89bbe47a796bc9180371b840685a2bb82997e4e..7f2d5e0b27fed20327d59b28f513b3c97ce15377 100644 (file)
@@ -1281,6 +1281,10 @@ while (it != messages.end())
             ++it;
             }
         }
             ++it;
             }
         }
+    else
+        {
+        ++it;
+        }
     }
 }
 //-----------------------------------------------------------------------------
     }
 }
 //-----------------------------------------------------------------------------