projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e0777
)
irkerd: Fix 'self.socket' -> 'socket' typos in _wrap_socket
author
W. Trevor King
<wking@tremily.us>
Wed, 12 Mar 2014 16:58:45 +0000
(09:58 -0700)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 12 Mar 2014 17:07:57 +0000
(13:07 -0400)
Respect the 'socket' argument passed in by the caller. Fixes a typo
introducted in
a82724f
(irkerd: Initial SSL/TLS implementation,
2014-03-06).
irkerd
patch
|
blob
|
history
diff --git
a/irkerd
b/irkerd
index ea9aa068705bae75541ff04d1d81d7441bdfbf6b..e9076586e75263b67f15ee6b696aef185d6cafee 100755
(executable)
--- a/
irkerd
+++ b/
irkerd
@@
-248,7
+248,7
@@
class IRCServerConnection():
kwargs = {}
if ssl.HAS_SNI:
kwargs['server_hostname'] = target.servername
- self.socket = ssl_context.wrap_socket(s
elf.s
ocket, **kwargs)
+ self.socket = ssl_context.wrap_socket(socket, **kwargs)
return self.socket
def _check_hostname(self, target):