apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r750279 - /apr/apr/trunk/poll/unix/port.c
Date Thu, 05 Mar 2009 01:44:28 GMT
Author: trawick
Date: Thu Mar  5 01:44:27 2009
New Revision: 750279

URL: http://svn.apache.org/viewvc?rev=750279&view=rev
Log:
don't lose track of a ring element when port_associate() fails

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=750279&r1=750278&r2=750279&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/port.c (original)
+++ apr/apr/trunk/poll/unix/port.c Thu Mar  5 01:44:27 2009
@@ -315,6 +315,7 @@
                              fd, get_event(ep->pfd.reqevents), ep);
         if (ret < 0) {
             rv = apr_get_netos_error();
+            APR_RING_INSERT_TAIL(&(pollset->p->free_ring), ep, pfd_elem_t, link);
             break;
         }
 



Mime
View raw message