Skip to content

Commit 6a1bd39

Browse files
committed
SF 554073. Fix typo in error reporting of unrecognized character
following IAC. Bugfix candidate if anyone cares.
1 parent 1755ad9 commit 6a1bd39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/telnetlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def process_rawq(self):
421421
else:
422422
self.sock.sendall(IAC + DONT + opt)
423423
else:
424-
self.msg('IAC %d not recognized' % ord(opt))
424+
self.msg('IAC %d not recognized' % ord(c))
425425
except EOFError: # raised by self.rawq_getchar()
426426
pass
427427
self.cookedq = self.cookedq + buf

0 commit comments

Comments
 (0)