httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: svn commit: r697357 - in /httpd/httpd/trunk: include/ modules/http/ modules/test/ server/ server/mpm/experimental/event/
Date Sat, 20 Sep 2008 20:31:30 GMT
Jim Jagielski wrote:
> On Sat, Sep 20, 2008 at 11:58:09AM -0000, pquerna@apache.org wrote:
>> -#define ap_queue_empty(queue) ((queue)->nelts == 0)
>> +#define ap_queue_empty(queue) ((queue)->nelts == 0 && APR_RING_EMPTY(&queue->timers
,timer_event_t, link))
> 
> Not || ?

Don't think so?

You want to return true if there are both zero entries in the array, and 
zero in the ring.

And false if either has something in it.

Mime
View raw message