Commit 31823e37 authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Rod Vagg
Browse files

src: DRY getsockname/getpeername code

Extract the common logic into a template function.  No functional
changes, just code cleanup.

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


Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent 34ef5336
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