bug: tac.cgi: too many </table>'s, with fix
Ethan Galstad
nagios at nagios.org
Mon May 12 05:44:17 CEST 2003
Thanks -
fix will be in CVS shortly.
On 8 May 2003 at 14:59, John Sellens wrote:
> The "Hosts" section of the tac.cgi output seems to produce too
> many closing </table> tags.
>
> Repeat by: grep for <table> and </table> 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 at 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("</tr>\n");
> printf("</table>\n");
>
> - printf("</tr>\n");
> - printf("</table>\n");
> + /* too many of these */
> + /* printf("</tr>\n"); */
> + /* printf("</table>\n"); */
>
> printf("</p>\n");
>
>
>
> -------------------------------------------------------
> 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
-------------------------------------------------------
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
More information about the Developers
mailing list