SF 554073. Fix typo in error reporting of unrecognized character

following IAC.  Bugfix candidate if anyone cares.
This commit is contained in:
Guido van Rossum 2002-05-13 14:55:33 +00:00
parent 1755ad9b02
commit 6a1bd39d8e
1 changed files with 1 additions and 1 deletions

View File

@ -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