Skip to content

Commit

Permalink
Correction for rename #32
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory OConnell committed Feb 29, 2012
1 parent a102054 commit 51597ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/ldap.rb
Expand Up @@ -1589,7 +1589,7 @@ def rename args
new_superior = args[:new_superior]

request = [old_dn.to_ber, new_rdn.to_ber, delete_attrs.to_ber]
request << new_superior.to_ber unless new_superior == nil
request << new_superior.to_ber_contextspecific(0) unless new_superior == nil

pkt = [next_msgid.to_ber, request.to_ber_appsequence(12)].to_ber_sequence
@conn.write pkt
Expand Down

0 comments on commit 51597ea

Please sign in to comment.