aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-16 11:01:31 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-16 11:01:31 +0000
commitf874027e282a2d14ab0af5070afbd9f39a4208a5 (patch)
treee99d2c007356d5ecfc5034160a742a22762d09e6 /rpmdrake.pm
parent94969c0442d1272705a1dd3d3e6f7a64218ca37a (diff)
downloadrpmdrake-f874027e282a2d14ab0af5070afbd9f39a4208a5.tar
rpmdrake-f874027e282a2d14ab0af5070afbd9f39a4208a5.tar.gz
rpmdrake-f874027e282a2d14ab0af5070afbd9f39a4208a5.tar.bz2
rpmdrake-f874027e282a2d14ab0af5070afbd9f39a4208a5.tar.xz
rpmdrake-f874027e282a2d14ab0af5070afbd9f39a4208a5.zip
(choose_mirror) return all mirror data provided by the server
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 4cd2b60f..4a847ddb 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -606,7 +606,7 @@ by Mandriva Linux Official Updates.")), %options
$path->down;
$tree->get_selection->select_path($path);
- $w->main && member($w->{retval}{sel}, map { $_->{url} } @mirrors) ? $w->{retval}{sel} : '';
+ $w->main && return grep { $w->{retval}{sel} eq $_->{url} } @mirrors;
}
sub make_url_mirror {