"Paul J. Reder" wrote:
>
> Isn't this logic backwards? Have I just not had enough sugar yet this morning?
Hmm, yeah, maybe I did not had enough yesterday.
I wanted to make it the OR instead of AND, since that could potentially
be faster evaulated (if a compiler can handle it).
I had intended:
> + if (((x < 0) || (hard_server_limit < x)) ||
> + ((y < 0) || (hard_thread_limit < y))) {
> + return(NULL); /* Out of range */
> + }
> + return(&ap_scoreboard_image->servers[x][y]);
I wil redo the patch.
Harrie
--
address: Covalent Technologies, 645 Howard St, San Francisco, CA - 94105
phone: +1-415-536-5221 fax:+1-415-536-5210
personal website: http://www.lisanza.net/