File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 28
28
* Replaced calls to #to_a with calls to Kernel#Array; since Ruby 1.8.3, the
29
29
default #to_a implementation has been deprecated and should be replaced
30
30
either with calls to Kernel#Array or [value].flatten(1).
31
+ * Modified #add and #modify to return a Pdu#result_code instead of a
32
+ Pdu#result. This may be changed in Net::LDAP 1.0 to return the full
33
+ Pdu#result, but if we do so, it will be that way for all LDAP calls
34
+ involving Pdu objects.
31
35
32
36
=== Net::LDAP 0.1.1 / 2010-03-18
33
37
* Fixing a critical problem with sockets.
Original file line number Diff line number Diff line change @@ -1513,7 +1513,7 @@ def modify args
1513
1513
@conn . write pkt
1514
1514
1515
1515
( be = @conn . read_ber ( AsnSyntax ) ) && ( pdu = LdapPdu . new ( be ) ) && ( pdu . app_tag == 7 ) or raise LdapError . new ( "response missing or invalid" )
1516
- pdu . result
1516
+ pdu . result_code
1517
1517
end
1518
1518
1519
1519
#--
@@ -1536,7 +1536,7 @@ def add args
1536
1536
@conn . write pkt
1537
1537
1538
1538
( be = @conn . read_ber ( AsnSyntax ) ) && ( pdu = LdapPdu . new ( be ) ) && ( pdu . app_tag == 9 ) or raise LdapError . new ( "response missing or invalid" )
1539
- pdu . result
1539
+ pdu . result_code
1540
1540
end
1541
1541
1542
1542
#--
You can’t perform that action at this time.
0 commit comments