bug: tac.cgi: too many </table>'s, with fix
John Sellens
jsellens at generalconcepts.com
Thu May 8 20:59:53 CEST 2003
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
More information about the Developers
mailing list