lib/net/ber/ber_parser.rb in net-ldap-0.15.0 vs lib/net/ber/ber_parser.rb in net-ldap-0.16.0

- old
+ new

@@ -170,13 +170,13 @@ content_length = read_ber_length yield id, content_length if block_given? if -1 == content_length - raise Net::BER::BerError, "Indeterminite BER content length not implemented." - else - data = read(content_length) + raise Net::BER::BerError, + "Indeterminite BER content length not implemented." end + data = read(content_length) parse_ber_object(syntax, id, data) end end