Permalink
Browse files

Change null to undefined so that it works on not yet merged upgraded …

…setEncoding.
  • Loading branch information...
1 parent c42bf53 commit 74825f54b0c88f7f49d23cdb50c584dcbecd9c89 @Rush committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tls.js
View
@@ -1208,7 +1208,7 @@ exports.start = function(socket /* [options], [asServer], cb */) {
}
// revert encoding as TLS requires a binary stream
- socket.setEncoding(null);
+ socket.setEncoding(undefined);
options = util._extend({
socket: socket,

0 comments on commit 74825f5

Please sign in to comment.