diff --git a/src/bin/rpki_query_service.rs b/src/bin/rpki_query_service.rs index d19163c..5e9947d 100644 --- a/src/bin/rpki_query_service.rs +++ b/src/bin/rpki_query_service.rs @@ -2104,8 +2104,14 @@ fn object_filter_from_query(query: &BTreeMap) -> Result state.start_pp_index || (pp_index == state.start_pp_index && object_index >= state.start_object_index); - if after_cursor && state.data.len() < state.limit && state.filter.matches(&record) - { + if after_cursor && state.data.len() < state.limit && state.filter.matches(&record) { state.data.push(record); if state.data.len() == state.limit { state.next_cursor = Some(object_cursor(pp_index, object_index + 1));