Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnilsson committed Oct 22, 2024
1 parent 2d7ce45 commit 0491d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ra_log_reader.erl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ segrefs_to_read(From0, To0, _SegRefs, Acc)
segrefs_to_read(From0, To0, [{SStart, SEnd, FileName} | SegRefs], Acc)
when SStart =< To0 andalso
SEnd >= From0 ->
%% TOOD: use ra_range:range_overlap/2 here?
%% TODO: use ra_range:range_overlap/2 here?
From = max(From0, SStart),
To = min(To0, SEnd),
Spec = {From, To, FileName},
Expand Down

0 comments on commit 0491d3c

Please sign in to comment.