Skip to content

Commit 9fa0b98

Browse files
DavidJLeedjlee2
authored andcommitted
Added parens around args for rename.
1 parent 9a9d5f0 commit 9fa0b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/net/ldap.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ def add(args)
15421542
#--
15431543
# TODO: need to support a time limit, in case the server fails to respond.
15441544
#++
1545-
def rename args
1545+
def rename(args)
15461546
old_dn = args[:olddn] or raise "Unable to rename empty DN"
15471547
new_rdn = args[:newrdn] or raise "Unable to rename to empty RDN"
15481548
delete_attrs = args[:delete_attributes] ? true : false

0 commit comments

Comments
 (0)