Xymon Mailing List Archive search

error in hobbitsvc.c?

list Dirk Kastens
Thu, 27 Mar 2008 17:48:41 +0100
Message-Id: <user-3c9f5a615b80@xymon.invalid>

Hi,

I just looked through the code of the latest snapshot. I'm not a 
C-programmer, but aren't there some brackets missing on line 342:

modifiers = (items[19] && *(items[19])) ? items[19] : NULL;

Shouldn't this be:

modifiers = ((items[19] && *(items[19])) ? items[19] : NULL);

Just an idea

-- 
Regards,

Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +XX-XXX-XXX-XXXX, FAX: -2470