Page 1 of 1

Re: [Nagios-devel] [patch] summary.cgi Nagios 3.0rc1 broken

Posted: Wed Jan 23, 2008 6:50 pm
by Guest
Joerg Linge wrote:
> Hi Ethan,
> summary.cgi does not recognice the host query string. So here is a small patch against summary.c Revision 1.25 ( 3.0rc1 )
>
> Kind regards,
> Jörg
>
> diff -u summary.c.orig summary.c
> --- summary.c.orig 2008-01-06 19:34:00.000000000 +0100
> +++ summary.c 2008-01-06 19:56:17.000000000 +0100
> @@ -1170,7 +1170,7 @@
> break;
> }
>
> - if((target_host_name=(char *)strdup(target_host_name))==NULL)
> + if((target_host_name=(char *)strdup(variables[x]))==NULL)
> target_host_name="";
> strip_html_brackets(target_host_name);
>

Thanks Joerg! Patch will be in CVS shortly...


Ethan Galstad
Nagios Developer
___
Email: [email protected]
Web: www.nagios.org





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