From c40540b748b3c815e9299216481afd927dd04754 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 27 Jan 2011 17:23:40 +0200 Subject: [PATCH] =?utf8?q?=D0=92=D0=B8=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=BE=20=D0=BF=D0=B0=D0=B4=D1=96=D0=BD=D0=BD=D1=8F=20?= =?utf8?q?=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80=D0=B0=20=D0=BF=D1=80=D0=B8?= =?utf8?q?=20=D0=BD=D0=B0=D0=B4=D1=81=D0=B8=D0=BB=D0=B0=D0=BD=D0=BD=D1=96?= =?utf8?q?=20=D0=BF=D0=BE=D0=B2=D1=96=D0=B4=D0=BE=D0=BC=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D0=BD=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- projects/stargazer/user.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/stargazer/user.cpp b/projects/stargazer/user.cpp index 1b7d2f4c..6e77f0a5 100644 --- a/projects/stargazer/user.cpp +++ b/projects/stargazer/user.cpp @@ -1246,7 +1246,7 @@ while (it != messages.end()) WriteServLog("Error deleting message: '%s'", store->GetStrError().c_str()); printfd(__FILE__, "Error deleting message: '%s'\n", store->GetStrError().c_str()); } - messages.erase(it); + messages.erase(it++); } else { @@ -1255,9 +1255,9 @@ while (it != messages.end()) WriteServLog("Error modifying message: '%s'", store->GetStrError().c_str()); printfd(__FILE__, "Error modifying message: '%s'\n", store->GetStrError().c_str()); } + ++it; } } - ++it; } } //----------------------------------------------------------------------------- -- 2.44.2