You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2009/02/22 21:00:17 UTC

svn commit: r746805 - /apr/apr/trunk/poll/unix/port.c

Author: trawick
Date: Sun Feb 22 20:00:17 2009
New Revision: 746805

URL: http://svn.apache.org/viewvc?rev=746805&view=rev
Log:
fix compile failure and warning

Modified:
    apr/apr/trunk/poll/unix/port.c

Modified: apr/apr/trunk/poll/unix/port.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/port.c?rev=746805&r1=746804&r2=746805&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/port.c (original)
+++ apr/apr/trunk/poll/unix/port.c Sun Feb 22 20:00:17 2009
@@ -93,7 +93,7 @@
     return APR_SUCCESS;
 }
 
-static apr_status_t impl_pollset_create(apr_pollset_t **pollset,
+static apr_status_t impl_pollset_create(apr_pollset_t *pollset,
                                              apr_uint32_t size,
                                              apr_pool_t *p,
                                              apr_uint32_t flags)
@@ -348,7 +348,7 @@
             }
         }
         pollset_unlock_rings();
-        if ((*num) = j)
+        if ((*num = j))
             rv = APR_SUCCESS;
         if (descriptors) {
             *descriptors = pollset->p->result_set;