[Nagios-devel] bug: tac.cgi: too many 's, with fix

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: tac.cgi: too many 's, with fix

Post by Guest »

The "Hosts" section of the tac.cgi output seems to produce too
many closing tags.

Repeat by: grep for and and count, or run through
an HTML validator (which is not always for the faint of heart :-) ).

Here's a patch that marks out the offending printf()s - it's likely
better to just remove it, but this hopefully provides more clarity
when checking my sanity.

Thanks - cheers!

John
jsellens@generalconcepts.com


--- /tmp/tac.c Thu May 8 14:17:08 2003
+++ cgi/tac.c Thu May 8 14:52:19 2003
@@ -1217,8 +1217,9 @@
printf("\n");
printf("\n");

- printf("\n");
- printf("\n");
+ /* too many of these */
+ /* printf("\n"); */
+ /* printf("\n"); */

printf("\n");






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: jsellens@generalconcepts.com
Locked