Leave it up to the client application whether to poll or not

This commit is contained in:
mpc
2004-11-07 05:06:36 +00:00
committed by zzz
parent 323f28e306
commit 9018af4765

View File

@@ -689,7 +689,7 @@ static bool sam_readable(sam_sess_t *session)
FD_ZERO(&rset);
FD_SET(session->sock, &rset);
tv.tv_sec = 0;
tv.tv_usec = 10;
tv.tv_usec = 0;
rc = select(session->sock + 1, &rset, NULL, NULL, &tv);
if (rc == 0)
return false;