Skip to content

Commit

Permalink
tls: name anonymous function in tls.js
Browse files Browse the repository at this point in the history
Refs: #8913

PR-URL: #21754
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
  • Loading branch information
klacabane authored and trivikr committed Jul 18, 2018
1 parent 72624fd commit 07c514c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function convertProtocols(protocols) {
return buff;
}

exports.convertALPNProtocols = function(protocols, out) {
exports.convertALPNProtocols = function convertALPNProtocols(protocols, out) {
// If protocols is Array - translate it into buffer
if (Array.isArray(protocols)) {
out.ALPNProtocols = convertProtocols(protocols);
Expand Down

0 comments on commit 07c514c

Please sign in to comment.