lib/ldap/server/operation.rb in ruby-ldapserver-0.5.2 vs lib/ldap/server/operation.rb in ruby-ldapserver-0.5.3

- old
+ new

@@ -241,10 +241,10 @@ def do_search(protocolOp, controls) # :nodoc: baseObject = protocolOp.value[0].value scope = protocolOp.value[1].value deref = protocolOp.value[2].value client_sizelimit = protocolOp.value[3].value - client_timelimit = protocolOp.value[4].value + client_timelimit = protocolOp.value[4].value.to_i @typesOnly = protocolOp.value[5].value filter = Filter::parse(protocolOp.value[6], @schema) @attributes = protocolOp.value[7].value.collect {|x| x.value} @rescount = 0