commit | 7e517ecacb486b54213088122522c5a7873e66f4 | [log] [tgz] |
---|---|---|
author | Sean Middleditch <sean@middleditch.us> | Sat Mar 14 00:18:30 2009 -0400 |
committer | Sean Middleditch <sean@middleditch.us> | Sat Mar 14 00:18:30 2009 -0400 |
tree | c3300b5f412c5a125d9e1f7921ad7989f4466ea3 | |
parent | 8b5e2b1229c5f8bf731e14c048a4f49701a04c36 [diff] |
fix silly typo
diff --git a/libtelnet.c b/libtelnet.c index 3bfd319..f4a218f 100644 --- a/libtelnet.c +++ b/libtelnet.c
@@ -160,7 +160,7 @@ if (byte == LIBTELNET_IAC) { telnet->state = LIBTELNET_STATE_SB_IAC; /* buffer the byte, or bail if we can't */ - } else if (_buffer_byte(telnet, LIBTELNET_IAC, user_data) != + } else if (_buffer_byte(telnet, byte, user_data) != LIBTELNET_ERROR_OK) { start = i + 1; telnet->state = LIBTELNET_STATE_TEXT;