Bugfix: rename failed because of unqualified constants
This commit is contained in:
parent
7dd6c3a107
commit
c11ec44258
1 changed files with 3 additions and 1 deletions
|
@ -1529,7 +1529,9 @@ class Net::LDAP::Connection #:nodoc:
|
|||
pkt = [next_msgid.to_ber, request.to_ber_appsequence(12)].to_ber_sequence
|
||||
@conn.write pkt
|
||||
|
||||
(be = @conn.read_ber(AsnSyntax)) && (pdu = LdapPdu.new( be )) && (pdu.app_tag == 13) or raise LdapError.new( "response missing or invalid" )
|
||||
(be = @conn.read_ber(Net::LDAP::AsnSyntax)) &&
|
||||
(pdu = Net::LDAP::PDU.new( be )) && (pdu.app_tag == 13) or
|
||||
raise Net::LDAP::LdapError.new( "response missing or invalid" )
|
||||
pdu.result_code
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue