fix silly typo

This commit is contained in:
Sean Middleditch 2009-03-14 00:18:30 -04:00
parent 8b5e2b1229
commit 7e517ecacb
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ void libtelnet_push(struct libtelnet_t *telnet, unsigned char *buffer,
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;