diff options
-rw-r--r-- | poll/unix/z_asio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poll/unix/z_asio.c b/poll/unix/z_asio.c index 7e0fd89a5..6537d4909 100644 --- a/poll/unix/z_asio.c +++ b/poll/unix/z_asio.c @@ -268,9 +268,9 @@ static apr_status_t asio_pollset_create(apr_pollset_t *pollset, if (flags & APR_POLLSET_THREADSAFE) { #if APR_HAS_THREADS - if (rv = apr_thread_mutex_create(&(priv->ring_lock), + if ((rv = apr_thread_mutex_create(&(priv->ring_lock), APR_THREAD_MUTEX_DEFAULT, - p) != APR_SUCCESS) { + p)) != APR_SUCCESS) { DBG1(1, "apr_thread_mutex_create returned %d\n", rv); pollset->p = NULL; return rv; |