Possible Bug in 4.3.0-0.20070722 snapshot

Trent Melcher trent.melcher at sitel.com
Fri Aug 17 19:20:27 CEST 2007


I found a possible bug in the 4.3.0-0.20070722  snapshot.

In the web/hobbitsvc.c (v 1.80 2007/07/18 21:20:15)

This variable is set:
static char *multigraphs = ",disk,inode,qtree,";

With this set the option in the hobbitcgi.cfg for CGI_SVC_OPTS="
--multi-graphs"   never gets used.  (This is how I found it,  trying to
use --multi-graphs=if_load,if_err)

The if statement in the htmllog.c on line 369  is never hit since
multigraph is never NULL.

htmllog.c,v 1.59 2007/07/21 16:13:18
if (multigraphs == NULL) multigraphs = ",disk,inode,qtree,";

I change the hobbitsvc.c  to
static char *multigraphs = NULL;

the if statement in htmllog.c now hits because multigraphs is NULL,
however could I have possibly broken other tests with this change?  SO
far I havent found anything broken in my beta deployment of the
snapshot, Also has this been fixed in newer snapshots?



Thanks
Trent



More information about the Xymon mailing list