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

dgram: remove a needless instanceof Buffer check #4301

Closed
wants to merge 1 commit into from

Commits on Dec 16, 2015

  1. udp: remove a needless instanceof Buffer check

    When a string is passed to udpsock.send, it is automatically
    converted to a Buffer. In that case, it is no longer needed
    to test whether or not the argument is a Buffer or not.
    ronkorving committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    30dc5a8 View commit details
    Browse the repository at this point in the history