Commit 4bc1cccb authored by cjihrig's avatar cjihrig
Browse files

dgram: pass null as error on successful send()

Prior to c9fd9e21, UDP sockets
would callback with a null error on successful send() calls. The
current behavior is to pass 0 as the error. This commit restores
the previous, more expected behavior.

PR-URL: https://github.com/nodejs/node/pull/5929


Reviewed-By: default avatarEvan Lucas <evanlucas@me.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
parent 089c6a4f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment