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
|
@ -421,7 +421,7 @@ class Telnet:
|
||||||
else:
|
else:
|
||||||
self.sock.sendall(IAC + DONT + opt)
|
self.sock.sendall(IAC + DONT + opt)
|
||||||
else:
|
else:
|
||||||
self.msg('IAC %d not recognized' % ord(opt))
|
self.msg('IAC %d not recognized' % ord(c))
|
||||||
except EOFError: # raised by self.rawq_getchar()
|
except EOFError: # raised by self.rawq_getchar()
|
||||||
pass
|
pass
|
||||||
self.cookedq = self.cookedq + buf
|
self.cookedq = self.cookedq + buf
|
||||||
|
|
Loading…
Reference in New Issue