Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
  • Loading branch information
Bilal2453 and squeek502 committed Mar 2, 2023
1 parent dfbbda7 commit 71d38d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static uv_handle_t* luv_check_handle(lua_State* L, int index) {
isHandle = lua_toboolean(L, -1);
lua_pop(L, 2);
if (!isHandle) goto fail;
// cast the uesrdata to uv_handle_t
// cast the userdata to uv_handle_t
handle = *(uv_handle_t**)udata;
if (!handle->data) goto fail;
return handle;
Expand Down

0 comments on commit 71d38d6

Please sign in to comment.