Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recv callback expects 4 arguments #270

Merged
merged 2 commits into from
Dec 5, 2017
Merged

recv callback expects 4 arguments #270

merged 2 commits into from
Dec 5, 2017

Conversation

samunders-core
Copy link
Contributor

No description provided.

src/udp.c Outdated
@@ -210,7 +210,7 @@ static void luv_udp_recv_cb(uv_udp_t* handle, ssize_t nread, const uv_buf_t* buf

// err
if (nread < 0) {
luv_status(L, nread);
luv_status(L, nread); // TODO: I think luv_push_status_nil(L, nread) would be better name => remove branching
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to remove this comment from the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants