summaryrefslogtreecommitdiffstats
path: root/urpm/ldap.pm
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.com>2005-05-16 10:44:59 +0000
committerMichael Scherer <misc@mandriva.com>2005-05-16 10:44:59 +0000
commit427df6e797e1240b91d9f6de0d86501d5a29cceb (patch)
tree5fead8b9e6dd2c96211a262263357a4ed272c89a /urpm/ldap.pm
parent607f3e01270443e0ff6097a4e6fe46aec01ace34 (diff)
downloadurpmi-427df6e797e1240b91d9f6de0d86501d5a29cceb.tar
urpmi-427df6e797e1240b91d9f6de0d86501d5a29cceb.tar.gz
urpmi-427df6e797e1240b91d9f6de0d86501d5a29cceb.tar.bz2
urpmi-427df6e797e1240b91d9f6de0d86501d5a29cceb.tar.xz
urpmi-427df6e797e1240b91d9f6de0d86501d5a29cceb.zip
- fix the call to write ldap
Diffstat (limited to 'urpm/ldap.pm')
-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 ($@) {