summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/ldap.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/ldap.pm b/urpm/ldap.pm
index b3f80a15..a5b95918 100644
--- a/urpm/ldap.pm
+++ b/urpm/ldap.pm
@@ -198,7 +198,7 @@ sub load_ldap_media($%) {
$medium->{ldap} = 1;
next if !check_ldap_medium($medium);
$urpm->probe_medium($medium, %options) and push @{$urpm->{media}}, $medium;
- $urpm->write_ldap_cache($medium) or $urpm->{log}(N("Could not write ldap cache : %s", $_));
+ write_ldap_cache($urpm,$medium) or $urpm->{log}(N("Could not write ldap cache : %s", $_));
}
};
if ($@) {