You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2015/06/07 20:31:11 UTC
svn commit: r1684057 - /httpd/httpd/trunk/server/mpm/event/event.c
Author: ylavic
Date: Sun Jun 7 18:31:11 2015
New Revision: 1684057
URL: http://svn.apache.org/r1684057
Log:
mpm_event: Follow up to r1664071: quiet compiler (spurious) warning.
Modified:
httpd/httpd/trunk/server/mpm/event/event.c
Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1684057&r1=1684056&r2=1684057&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Sun Jun 7 18:31:11 2015
@@ -1680,7 +1680,7 @@ static void process_timeout_queue(struct
APR_RING_INIT(&trash, event_conn_state_t, timeout_list);
for (qp = q; qp; qp = qp->next) {
count = 0;
- cs = first = APR_RING_FIRST(&qp->head);
+ cs = first = last = APR_RING_FIRST(&qp->head);
while (cs != APR_RING_SENTINEL(&qp->head, event_conn_state_t,
timeout_list)
/* Trash the entry if: