noticed a possible parameter problem in paged-search,

added comments.
This commit is contained in:
blackhedd 2006-09-02 14:45:25 +00:00
parent 9ece3ff393
commit 8d8a2be5f8

View file

@ -1217,6 +1217,14 @@ module Net
# then query again for the next page of results.
# If not, we're done.
# Don't screw this up or we'll break every search we do.
#
# Noticed 02Sep06, look at the read_ber call in this loop,
# shouldn't that have a parameter of AsnSyntax? Does this
# just accidentally work? According to RFC-2696, the value
# expected in this position is of type OCTET STRING, covered
# in the default syntax supported by read_ber, so I guess
# we're ok.
#
more_pages = false
if result_code == 0 and controls
controls.each do |c|