diff --git a/cpp/lintian-ppa.cpp b/cpp/lintian-ppa.cpp index 7641392..8dd87bd 100644 --- a/cpp/lintian-ppa.cpp +++ b/cpp/lintian-ppa.cpp @@ -434,8 +434,7 @@ int main(int argc, char* argv[]) { } // Iterate over published sources - auto publishedSources = ppa.getPublishedSources("Published", current_series->name); - for (const auto& source : publishedSources) { + for (const auto& source : ppa.getPublishedSources("", "", current_series, false, true, "", "", "Published", "")) { for (const auto& build : source.getBuilds()) { if (build.buildstate == "Successfully built") { // Assuming build.datebuilt is a std::chrono::system_clock::time_point