telnet.c: fix invalid use of custom read function if not being set
obj_count can be 1 if the custom read function is set or the stdin handle is a reference to a pipe. Since the pipe should be handled using the PeekNamedPipe-check below, the custom read function should only be used if it is actually enabled.
parent
03fa5768
Please register or sign in to comment