summaryrefslogtreecommitdiff
path: root/src/html-error.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-08-07make a const string const in send_http_headers().Michael Adam1-1/+1
Michael
2009-08-07make message argument of indicate_http_error() const.Michael Adam1-1/+2
Michael
2009-08-07make message argument to send_http_headers() constant.Michael Adam1-1/+1
Michael
2009-08-07add_error_variable(): make key and data arguments constMichael Adam1-1/+1
Michael
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman1-1/+1
2008-12-08Convert tabs to spacesMukund Sivaraman1-60/+60
2008-12-08Update Tinyproxy website URLMukund Sivaraman1-1/+1
2008-12-08Break at 80 columnsMukund Sivaraman1-1/+2
2008-12-01Reformat code to GNU coding styleMukund Sivaraman1-181/+178
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made.
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