summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authorrooneg <rooneg@13f79535-47bb-0310-9956-ffa450edef68>2006-10-09 15:22:00 +0000
committerrooneg <rooneg@13f79535-47bb-0310-9956-ffa450edef68>2006-10-09 15:22:00 +0000
commitb10d9aec16d7a7c3cfc0b7e2065642d821dd962c (patch)
tree7367dee85185e198270deddc72c8edb8858c3324 /poll
parent890b07c6f4919652b2d0f0cb189858fa8d12db26 (diff)
downloadlibapr-b10d9aec16d7a7c3cfc0b7e2065642d821dd962c.tar.gz
Fix bug in pollset creation error checking.
Submitted by: Larry Cipriani <lvc lucent.com> * poll/unix/port.c (apr_pollset_create): Fix typo in error checking for mutex creation. * CHANGES: Consolidate entries for the pollset typo fixes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@454403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r--poll/unix/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll/unix/port.c b/poll/unix/port.c
index f668912b3..144442a08 100644
--- a/poll/unix/port.c
+++ b/poll/unix/port.c
@@ -100,7 +100,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;
}