Skip to content

Commit

Permalink
chore: fix -Wshadow error in uvwasi.c (nodejs#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere authored Dec 13, 2023
1 parent dc2cbab commit 0dea67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uvwasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,7 @@ uvwasi_errno_t uvwasi_sock_accept(uvwasi_t* uvwasi,
goto close_sock_and_error_exit;
}

int r = uv_accept((uv_stream_t*) wrap->sock, (uv_stream_t*) uv_connect_sock);
r = uv_accept((uv_stream_t*) wrap->sock, (uv_stream_t*) uv_connect_sock);
if (r == UV_EAGAIN) {
// still no connection or error so run the loop again
continue;
Expand Down

0 comments on commit 0dea67b

Please sign in to comment.