diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-04-25 07:50:21 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:25 +0300 |
commit | 47bbc46b9fc6a7f13f77f09c8c0a5437fbad1fce (patch) | |
tree | 0d8cb5b1e178a2636b0c7319d9358ac10c5cdf0d /publisher | |
parent | 0f5d7d5084b60c151ff0a2b8e28d175ddd2efb80 (diff) |
Fixed warnings
Diffstat (limited to 'publisher')
-rw-r--r-- | publisher/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/publisher/main.cpp b/publisher/main.cpp index 2204f4634f..62472c1505 100644 --- a/publisher/main.cpp +++ b/publisher/main.cpp @@ -32,7 +32,9 @@ void IndexAard(sl::SlofIndexer & indexer) for (uint32_t id = 0; id < inputDictionary.KeyCount(); ++id) { if ((id % 5000) == 0) + { LOG(LINFO, (id, "done.")); + } // TODO: Handle redirects. // TODO: Handle several keys for article? string key, article; @@ -100,7 +102,9 @@ void IndexJson(sl::SlofIndexer & indexer) CHECK(keysToArticles.insert(make_pair(title, articleId)).second, (i)); if ((i & 127) == 0) + { LOG(LINFO, ("Done:", i)); + } } articles.clear(); |