[Nagios-devel] Bug in history.c

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Bug in history.c

Post by Guest »

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!








This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked