summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-02-25 16:40:40 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-08-27 17:44:15 +0200
commita43af39ffc369776f776c69e5287c9632349fc2b (patch)
treeac696bab827f3e431377bb0554f4be1a571408e0 /test
parentd6714ff1a48de5dcd9d3dfbb4b2e036efcd92b7c (diff)
downloadnode-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