diff --git a/src/util.cpp b/src/util.cpp index 8a854a7..29aadf2 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -350,7 +350,10 @@ void Util::getDownloaderUrlsFromJSON(const Json::Value &root, std::vectorasString()); + { + Json::Value& url = *it; + urls.push_back(url.asString()); + } else getDownloaderUrlsFromJSON(*it, urls); }