From 156a2c1c2b537403f9b2cc6b6caeb75a49078068 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20D=C3=BCring?= Date: Wed, 16 Nov 2016 14:19:30 +0100 Subject: [PATCH] Forgot: Set moreData to false if no further data --- src/WikiWalker.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/WikiWalker.cpp b/src/WikiWalker.cpp index f3723f7..b201f6a 100644 --- a/src/WikiWalker.cpp +++ b/src/WikiWalker.cpp @@ -48,6 +48,10 @@ Article getArticle(std::string json, ContinueData &contData) .get("plcontinue", Json::Value::nullSingleton()) .asString(); } + else + { + contData.moreData = false; + } return wantedArticle; } -- 2.11.4.GIT