Bug in history.c

Zdenek Svoboda zdenek.svoboda at centrum.cz
Fri May 16 13:59:10 CEST 2003


Hello,
there seems to be a small bug in history.c, in lines that begin with:
sprintf(match1," SERVICE ALERT: %s;%s"
sprintf(match1," SERVICE FLAPPING ALERT: %s;%s"
sprintf(match1," SERVICE DOWNTIME ALERT: %s;%s"
I believe there should be a semicolon added before the end of the
three strings (after the last %s format character) --- otherwise there
will be faults in the history listing if there exists two or more
services with self-prefixed names at one host (e.g. "service1" and
"service10").
Zdenek Svoboda


--------------------
Centrum.cz Auto: Přinášíme Vám kompletní přehled kabrioletů na českém trhu! 34 aut, ve kterých si léto opravdu užijete!<http://user.centrum.cz/redir.php?url=http://auto.centrum.cz/clanek.phtml?id870>





-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com




More information about the Developers mailing list