Wow. I just found the bug in get_color_text(). It's returning a pointer to a buffer in the function, but that buffer isn't declared static. So, there's no guarantee that it won't disappear or get munged before it is used. get_quota_used() suffered from the same problem.Great, This patch fixes my problem. The page now renders properly.
Try this diff and see if it fixes the problem:
Thanks Tom!
Brandon
=================================================================== RCS file: /cvsroot/qmailadmin/qmailadmin/util.c,v retrieving revision 1.3 diff -u -r1.3 util.c --- util.c 8 Dec 2003 17:52:12 -0000 1.3 +++ util.c 7 Jan 2004 15:20:54 -0000
