Skip to content

Commit 585ae82

Browse files
committed
Call connection#write method with send
1 parent 069ad98 commit 585ae82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/ldap/auth_adapters/simple.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def bind(auth)
1919
psw.to_ber_contextspecific(0)
2020
].to_ber_appsequence(Net::LDAP::PDU::BindRequest)
2121

22-
@connection.write(request, nil, message_id)
22+
@connection.send(:write, request, nil, message_id)
2323
pdu = @connection.queued_read(message_id)
2424

2525
if !pdu || pdu.app_tag != Net::LDAP::PDU::BindResult

0 commit comments

Comments
 (0)