From 1ad89f104a5dbf58a8ce5b120b78397e802cc768 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Fri, 20 Dec 2024 13:09:02 -0600 Subject: [PATCH] Fix getPublishedSources call --- cpp/lintian-ppa.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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