summaryrefslogtreecommitdiff
path: root/src/htmlerror.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-05-24Renamed htmlerror.[ch] to html-error.[ch]Mukund Sivaraman1-292/+0
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman1-14/+18
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated.
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes1-163/+179
I re-indented the source code using indent with the following options: indent -kr -bad -bap -nut -i8 -l80 -psl -sob -ss -ncs There are now _no_ tabs in the source files, and all indentation is eight spaces. Lines are 80 characters long, and the procedure type is on it's own line. Read the indent manual for more information about what each option means.
2003-08-01Included patches from Steven Young to use the hashmap functionality toRobert James Kaes1-51/+48
manage the HTML error pages. It simplifies the source, and also make the object file smaller. Nice. Also added any casting from (void*) to ensure that the code compiles using a C++ compiler.
2003-07-14(indicate_http_error): Added calls to va_end() before leaving theRobert James Kaes1-2/+6
function.
2003-05-31# Changed all the for calls to use the != test rather than < test.Robert James Kaes1-9/+9
The change was recommended in the C/C++ User Journal magazine.
2003-04-01(add_error_variable): Test whether connptr->error_variable is NULL,Robert James Kaes1-2/+6
and if so call safemalloc(). This is needed since saferealloc() will assert() if the first argument is a NULL pointer.
2003-03-14Made get_html_file() and lookup_variable() static functions since theyRobert James Kaes1-3/+3
are only used with this file.
2003-03-14# Added copyright notices for Steve. Reformatted the source code toRobert James Kaes1-22/+47
better match the existing tinyproxy practise. Included a few bug fixes from Steve.
2003-03-13# Steve Young's code to implement file based HTML error messages,Robert James Kaes1-0/+242
rather than the hard coded string.