Bug in history.c

Ethan Galstad nagios at nagios.org
Tue May 20 23:47:24 CEST 2003


Thanks - 

patch will be in CVS shortly.

On 16 May 2003 at 13:59, Zdenek Svoboda wrote:

> 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
> nek.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
> 
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge




More information about the Developers mailing list