Yaroslav Tykhiy 39b96ba75d Improve error handling in getline():
- always check the return value from getc(3) for EOF;
- if the attempt to read the TELNET command byte has
  returned EOF, exit from the loop instead of using
  the EOF value as a normal character.

MFC after:	1 week
2003-07-09 13:15:32 +00:00
..
2003-06-01 19:52:36 +00:00
2003-07-09 13:15:32 +00:00
2003-06-08 12:40:50 +00:00
2002-07-17 05:47:49 +00:00