summaryrefslogtreecommitdiff
path: root/tests/linger.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:28:53 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:28:53 +0900
commit9ba5373f788958b61588203add314b8a9a5c4618 (patch)
tree55cbc96ed12ddf1b64d9674b53b85f168a151133 /tests/linger.cpp
parenta0d548e6cdef36a8dae6e6834252475728bf8583 (diff)
Avoid too long timeouts in xs_poll
The timeout should be int. For historical reasons, however, it is defined as long. To fix the problem the value is checked in the runtime to assure it is not larger than INT_MAX. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/linger.cpp')
0 files changed, 0 insertions, 0 deletions