We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6bb5c8 + bab0c30 commit 626c312Copy full SHA for 626c312
1 file changed
lib/net/ldap/connection.rb
@@ -74,7 +74,8 @@ def open_connection(server)
74
75
module GetbyteForSSLSocket
76
def getbyte
77
- getc.ord
+ c = getc
78
+ c && c.ord
79
end
80
81
0 commit comments