Commit 6a1bd39d authored by Guido van Rossum's avatar Guido van Rossum

SF 554073. Fix typo in error reporting of unrecognized character

following IAC.  Bugfix candidate if anyone cares.
parent 1755ad9b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment