diff --git a/src/sbbs3/sexyz.c b/src/sbbs3/sexyz.c index b80563d62f959dba9db7409cde4218eb9a6e8c4d..2b5cbf300c045eca1d1dc76f4acff75d13202919 100644 --- a/src/sbbs3/sexyz.c +++ b/src/sbbs3/sexyz.c @@ -405,7 +405,7 @@ void send_telnet_cmd(SOCKET sock, uchar cmd, uchar opt) #define DEBUG_TELNET FALSE /* - * Returns -1 on disconnect or the number of bytes read. + * Returns -1 on disconnect, 0 on timeout, or the number of bytes read. * Does not muck around with ERROR_VALUE (hopefully) */ static int recv_buffer(int timeout /* seconds */)