Archived
1
0
Fork 0

Fix some typos

This commit is contained in:
Mercier Pierre-Olivier 2013-09-09 13:43:35 +02:00
commit d8389b2b77
2 changed files with 8 additions and 4 deletions

View file

@ -142,6 +142,11 @@ sub add_attribute($$$@)
my $mod = 0;
my $entry = get_dn($ldap, $dn, $what);
if (!$entry) {
log(WARN, "Trying to add attributes ($what) to an unexisting entry: $dn");
log(TRACE, @_);
return undef;
}
my @data = $entry->get_value($what);
for my $value (@_)
{