Fixed group av issues.

This commit is contained in:
irungentoo 2014-11-11 21:01:19 -05:00
parent 3e612eecf6
commit 26a6bde6b3
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -1807,7 +1807,8 @@ static unsigned int lossy_packet_not_received(Group_c *g, int peer_index, uint16
if (top_distance < MAX_LOSSY_COUNT) {
unsigned int i;
for (i = g->group[peer_index].bottom_lossy_number; i != (g->group[peer_index].bottom_lossy_number + top_distance);
for (i = g->group[peer_index].bottom_lossy_number + 1;
i != (g->group[peer_index].bottom_lossy_number + top_distance + 1);
++i) {
g->group[peer_index].recv_lossy[i % MAX_LOSSY_COUNT] = 0;
}