Skip to content

Commit c2106f9

Browse files
author
David R. MacIver
committed
if x and y abutt in Merge then merged interval has the end of y, not the start
1 parent a468110 commit c2106f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/client/RabbitMQ.Client/src/util/IntAllocator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static IntervalList Merge(IntervalList x, IntervalList y)
107107
{
108108
// The two intervals adjoin. Merge them into one and then
109109
// merge the tails.
110-
x.Start = y.Start;
110+
x.End = y.End;
111111
x.Next = Merge(x.Next, y.Next);
112112
return x;
113113
}

0 commit comments

Comments
 (0)