Skip to content

Commit

Permalink
uv: Improve comment in sizeofRequestV1
Browse files Browse the repository at this point in the history
Signed-off-by: Free Ekanayaka <[email protected]>
  • Loading branch information
freeekanayaka committed Mar 23, 2024
1 parent 67f4531 commit f9f95ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uv_encoding.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static size_t sizeofRequestVoteV1(void)

static size_t sizeofRequestVote(void)
{
return sizeofRequestVoteV1() + sizeof(uint64_t) /* Leadership transfer. */;
return sizeofRequestVoteV1() + sizeof(uint64_t) /* Flags. */;
}

static size_t sizeofRequestVoteResultV1(void)
Expand Down

0 comments on commit f9f95ea

Please sign in to comment.