apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r746805 - /apr/apr/trunk/poll/unix/port.c
Date Sun, 22 Feb 2009 20:00:17 GMT
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;



Mime
View raw message