On Tue, 10 Dec 2003 [EMAIL PROTECTED] wrote:

>   --- mod_mem_cache.c 4 Dec 2003 00:16:13 -0000       1.98
>   +++ mod_mem_cache.c 10 Dec 2003 03:22:32 -0000      1.99
>   @@ -240,7 +240,7 @@
>        cache_object_t *obj = (cache_object_t *)a;
>        mem_cache_object_t *mobj = obj->vobj;
>        if (mobj->priority == 0)
>   -        mobj->priority = -((long)(queue_clock + mobj->total_refs));
>   +        mobj->priority = queue_clock - mobj->total_refs;

The only thing I don't understand is why this went from:

- queue_clock - mobj->total_refs

to:

queue_clock - mobj->total_refs

When the other case negated the whole statement.  Is this intentional or
did you forget to account for the - in this case being distributed across
the ()'s?

Just checking,
Cliff

Reply via email to