From ca7b3db26e757bc9aa1689fda3935cc4bdd16cce Mon Sep 17 00:00:00 2001 From: Ladislav Slezak Date: Thu, 14 Sep 2006 10:44:56 +0000 Subject: [PATCH] - fixed SourceFactory::createFrom() - don't loose alias, cachedir,... parameters --- zypp/SourceFactory.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zypp/SourceFactory.cc b/zypp/SourceFactory.cc index 7f16ee7..9574c1d 100644 --- a/zypp/SourceFactory.cc +++ b/zypp/SourceFactory.cc @@ -325,8 +325,7 @@ namespace zypp if ( auto_refresh == indeterminate ) auto_refresh = media::MediaAccess::canBeVolatile( url_r ); - SourceInfo context; - SourceInfo( url_r, path_r, alias_r, cache_dir_r, auto_refresh ); + SourceInfo context( url_r, path_r, alias_r, cache_dir_r, auto_refresh ); context.setBaseSource( base_source ); context.setType( type ); -- 2.7.4