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>
parent
34ef5336
Please register or sign in to comment