diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-02-25 16:40:40 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-08-27 17:44:15 +0200 |
commit | a43af39ffc369776f776c69e5287c9632349fc2b (patch) | |
tree | ac696bab827f3e431377bb0554f4be1a571408e0 /test | |
parent | d6714ff1a48de5dcd9d3dfbb4b2e036efcd92b7c (diff) | |
download | node-new-a43af39ffc369776f776c69e5287c9632349fc2b.tar.gz |
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: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions