From 23f48daef570839660e707b9cd8e657acedc0a40 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Thu, 19 Jul 2007 15:43:31 +0000 Subject: [PATCH] Media verification: split media download to a separate function --- zypp/repo/MediaInfoDownloader.cc | 2 +- zypp/repo/susetags/Downloader.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zypp/repo/MediaInfoDownloader.cc b/zypp/repo/MediaInfoDownloader.cc index 9c35864..f13db27 100644 --- a/zypp/repo/MediaInfoDownloader.cc +++ b/zypp/repo/MediaInfoDownloader.cc @@ -27,7 +27,7 @@ void downloadMediaInfo( const Pathname &dest_dir, const ProgressData::ReceiverFnc & progressrcv ) { Fetcher fetcher; - fetcher.enqueue( OnMediaLocation("/media.1/media") ); + fetcher.enqueue( OnMediaLocation().setFilename( "/media.1/media") ); fetcher.start( dest_dir, media, progressrcv ); // ready, go! fetcher.reset(); diff --git a/zypp/repo/susetags/Downloader.cc b/zypp/repo/susetags/Downloader.cc index 709c4a9..910bb1b 100644 --- a/zypp/repo/susetags/Downloader.cc +++ b/zypp/repo/susetags/Downloader.cc @@ -35,7 +35,7 @@ void Downloader::download( MediaSetAccess &media, const ProgressData::ReceiverFnc & progress ) { downloadMediaInfo( dest_dir, media ); - + SignatureFileChecker sigchecker; Pathname sig = _path + "/content.asc"; -- 2.7.4