diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:28:53 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:28:53 +0900 |
commit | 9ba5373f788958b61588203add314b8a9a5c4618 (patch) | |
tree | 55cbc96ed12ddf1b64d9674b53b85f168a151133 /tests/resubscribe.cpp | |
parent | a0d548e6cdef36a8dae6e6834252475728bf8583 (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/resubscribe.cpp')
0 files changed, 0 insertions, 0 deletions