Author: rhuijben
Date: Mon Nov 23 16:59:21 2015
New Revision: 1715885
URL: http://svn.apache.org/viewvc?rev=1715885&view=rev
Log:
* incoming.c
(serf__incoming_update_pollset): Only recurse on items that are still in the
list. Not only when they are *not*.
Modified:
serf/trunk/incoming.c
Modified: serf/trunk/incoming.c
URL:
http://svn.apache.org/viewvc/serf/trunk/incoming.c?rev=1715885&r1=1715884&r2=1715885&view=diff
==============================================================================
--- serf/trunk/incoming.c (original)
+++ serf/trunk/incoming.c Mon Nov 23 16:59:21 2015
@@ -716,7 +716,7 @@ apr_status_t serf__incoming_update_polls
apr_pool_destroy(client->pool);
- if (cid >= ctx->incomings->nelts) {
+ if (cid < ctx->incomings->nelts) {
/* We skipped updating the pollset on this item as we moved it.
Let's run it now */