[Nagios-devel] bug: tac.cgi: too many 's, with fix
Posted: Thu May 08, 2003 11:00 am
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
[email protected]
--- /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: [email protected]
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
[email protected]
--- /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: [email protected]