mirror of
https://github.com/python/cpython.git
synced 2025-11-20 10:57:44 +00:00
SF 554073. Fix typo in error reporting of unrecognized character
following IAC. Bugfix candidate if anyone cares.
This commit is contained in:
parent
1755ad9b02
commit
6a1bd39d8e
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ class Telnet:
|
|||
else:
|
||||
self.sock.sendall(IAC + DONT + opt)
|
||||
else:
|
||||
self.msg('IAC %d not recognized' % ord(opt))
|
||||
self.msg('IAC %d not recognized' % ord(c))
|
||||
except EOFError: # raised by self.rawq_getchar()
|
||||
pass
|
||||
self.cookedq = self.cookedq + buf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue