summaryrefslogtreecommitdiff
path: root/src/html-error.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-07-14Fix a regression where empty error variables caused strlen() to crashMukund Sivaraman1-5/+13
This fixes a regression (bug #16) introduced in 95c1f39f6039dc82346f3e024e86a23b7103a0a6, where a NULL check was removed. This caused NULL error variable values to be sent to add_error_variable() in which strlen() segfaulted. With this fix, custom stats pages should be displayed properly. X-Banu-Bugzilla-Ids: 16
2008-07-14Make the embedded error message display valid XHTML tooMukund Sivaraman1-11/+18
Also fix the information that is displayed.
2008-07-14Add error number as a template parameter for error pagesMukund Sivaraman1-4/+10
2008-07-14Spruce up error page footers a bitMukund Sivaraman1-0/+1
2008-06-10Don't check the value to be inserted as it's already checkedMukund Sivaraman1-6/+7
This change primarily avoids a gcc warning where timebuf is never non-NULL. There is no need to check the value to be inserted as it's checked inside hashmap_insert(). This changeset also lets error return values from hashmap_insert() propogate instead of clamping them to -1 (not that these are currently used anyway).
2008-05-24Renamed htmlerror.[ch] to html-error.[ch]Mukund Sivaraman1-0/+292