diff options
author | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-01 22:54:25 +0000 |
---|---|---|
committer | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-01 22:54:25 +0000 |
commit | 03dbf3d3b1519bd70d7a2b0246833170c897025a (patch) | |
tree | d22a31e2751c63b6d4eab5e20701fa738ee9f019 /test/testpoll.c | |
parent | f9b30d3144e98ec824cf3d123a19c59a3c0c8c62 (diff) | |
download | libapr-03dbf3d3b1519bd70d7a2b0246833170c897025a.tar.gz |
Added select-based pollset implementation for systems without poll
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testpoll.c')
-rw-r--r-- | test/testpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testpoll.c b/test/testpoll.c index d54a52939..1ac261b3a 100644 --- a/test/testpoll.c +++ b/test/testpoll.c @@ -243,7 +243,7 @@ int main(void) printf("OK\n"); printf("\nTest 1: No descriptors signalled......."); - if ((apr_pollset_poll(pollset, 0, &num, &descriptors_out) != APR_SUCCESS) || + if ((apr_pollset_poll(pollset, 0, &num, &descriptors_out) != APR_TIMEUP) || (num != 0)) { printf("FAILED\n"); exit(-1); |