Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
This fixes #688.
  • Loading branch information
tuexen committed Nov 5, 2023
1 parent c9902a0 commit 308006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usrsctplib/user_environment.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ read_random(void *buf, size_t size)

position = 0;
while (position < size) {
if (nacl_secure_random((char *)buf + position, size - position, &n) == 0)
if (nacl_secure_random((char *)buf + position, size - position, &n) == 0) {
position += n;
}
}
Expand Down

0 comments on commit 308006e

Please sign in to comment.