Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-05-25 17:08:43 +0300
committerSergey Magidovich <mgsergio@mapswithme.com>2016-05-25 17:10:48 +0300
commitf423891f5695cf6a3670f4c5771741620cff9a47 (patch)
tree69295c8e12e507cc403c09c6d9bfc70dabeeed0d /editor
parentfb3bcd534b17217bf9e8bbb4dded7629730e4065 (diff)
Add DropUserStats. Code review.
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_tests/user_stats_test.cpp2
-rw-r--r--editor/user_stats.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_tests/user_stats_test.cpp b/editor/editor_tests/user_stats_test.cpp
index aae2ecbf46..db68bb7712 100644
--- a/editor/editor_tests/user_stats_test.cpp
+++ b/editor/editor_tests/user_stats_test.cpp
@@ -14,7 +14,7 @@ UNIT_TEST(UserStats_Smoke)
TEST(userStats.IsChangesCountInitialized(), ());
TEST(userStats.IsRankInitialized(), ());
TEST_EQUAL(userStats.GetChangesCount(), 2, ());
- TEST_GREATER_OR_EQUAL(userStats.GetRank(), 5762, ());
+ TEST_GREATER_OR_EQUAL(userStats.GetRank(), 5800, ());
}
} // namespace
} // namespace editor
diff --git a/editor/user_stats.cpp b/editor/user_stats.cpp
index dbfe4640d0..76788e0e75 100644
--- a/editor/user_stats.cpp
+++ b/editor/user_stats.cpp
@@ -47,7 +47,7 @@ bool UserStats::Update()
if (request.error_code() != 200)
{
- LOG(LWARNING, ("Server return", request.error_code(), "for url", url));
+ LOG(LWARNING, ("Server returned", request.error_code(), "for url", url));
return false;
}