Skip to content

Commit

Permalink
cosmetic: reorder 'memmove' arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Jan 11, 2024
1 parent 4dce2af commit eba0436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtp/srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5033,7 +5033,7 @@ void srtp_stream_list_remove(srtp_stream_list_t list,
if (list->entries[i].ssrc == stream_to_remove->ssrc) {
size_t entries_to_move = list->size - list->available - i - 1;
memmove(&list->entries[i], &list->entries[i + 1],
entries_to_move * sizeof(list_entry));
sizeof(list_entry) * entries_to_move);
list->available++;

break;
Expand Down

0 comments on commit eba0436

Please sign in to comment.