summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authorrooneg <rooneg@13f79535-47bb-0310-9956-ffa450edef68>2006-10-03 15:07:44 +0000
committerrooneg <rooneg@13f79535-47bb-0310-9956-ffa450edef68>2006-10-03 15:07:44 +0000
commitb904b90c8e1bacb4cdd100adeab1fa13c9e9cfa3 (patch)
tree26c5e592eccb0b61d330675fd3a9489e809137d1 /poll
parentf05b0e6f0ff212d635bf59de3420e6511eed7e11 (diff)
downloadlibapr-b904b90c8e1bacb4cdd100adeab1fa13c9e9cfa3.tar.gz
Fix PR 40662.
Submitted by: Larry Cipriani <lvc lucent.com> * poll/unix/kqueue.c (apr_pollset_create): Fix error checking. * CHANGES: Note change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@452527 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r--poll/unix/kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll/unix/kqueue.c b/poll/unix/kqueue.c
index fdabd487c..7fa85af62 100644
--- a/poll/unix/kqueue.c
+++ b/poll/unix/kqueue.c
@@ -75,7 +75,7 @@ APR_DECLARE(apr_status_t) apr_pollset_create(apr_pollset_t **pollset,
if (flags & APR_POLLSET_THREADSAFE &&
((rv = apr_thread_mutex_create(&(*pollset)->ring_lock,
APR_THREAD_MUTEX_DEFAULT,
- p) != APR_SUCCESS))) {
+ p)) != APR_SUCCESS)) {
*pollset = NULL;
return rv;
}