httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: svn commit: r556931 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Tue, 17 Jul 2007 17:07:12 GMT

On Jul 17, 2007, at 12:48 PM, jean-frederic clere wrote:

> Jim Jagielski wrote:
>> On Jul 17, 2007, at 10:31 AM, mturk@apache.org wrote:
>>> +            if (*(workers->s->route) && strcmp(workers->s-

>>> >route, route) == 0) {
>> Is that right? I'm guessing the 1st check was to make sure
>> that workers->s->route wasn't NULL (and therefore the strcmp
>> didn't dump), but instead you're checking that the 1st
>> character isn't '\0'... or was that the intent?
>
> It is checking for '\0' see modules/proxy/mod_proxy.h (typedef  
> struct { ... } proxy_worker_stat.
>

Ahh... I had forgotten that route in proxy_worker_stat
was an char [] and not a *char


Mime
View raw message