diff --git a/cpp/lintian-ppa.cpp b/cpp/lintian-ppa.cpp index 325d2af..8efea30 100644 --- a/cpp/lintian-ppa.cpp +++ b/cpp/lintian-ppa.cpp @@ -490,7 +490,7 @@ int main(int argc, char* argv[]) { } // Iterate over published sources - auto publishedSources = ppa.getPublishedSources("Published", current_series.name); + auto publishedSources = ppa.getPublishedSources("Published", current_series->name); for (const auto& source : publishedSources) { for (const auto& build : source.getBuilds()) { if (build.buildstate == "Successfully built") {