summaryrefslogtreecommitdiffhomepage
path: root/src/html-error.c
AgeCommit message (Collapse)Author
2010-03-28Revert "Update Tinyproxy website URLs"Mukund Sivaraman
This reverts commit b108162dfb408b4818a6ea8b2a148ddaf1506bbe.
2010-03-27Update Tinyproxy website URLsMukund Sivaraman
2010-01-25Remove bogus static qualifiers for these auto variablesMukund Sivaraman
2010-01-16Use HTTPS link in URLs to Tinyproxy websitesMukund Sivaraman
2009-12-07Move definition of "struct config_s" from main.h to conf.hMichael Adam
Michael
2009-10-02Clean up html_send_file ()Mukund Sivaraman
- Make function return from one place - Move inbuf to the heap
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman
The modified files were indented with GNU indent using the following command: indent -npro -kr -i8 -ts8 -sob -l80 -ss -cs -cp1 -bs -nlps -nprs -pcs \ -saf -sai -saw -sc -cdw -ce -nut -il0 No other changes of any sort were made.
2009-08-07send_html_file(): remove a discards qualifyer warningMichael Adam
and untangle assignment from check. Michael
2009-08-07html-error: make read only argument const in lookup_variable().Michael Adam
Michael
2009-08-07make a const string const in send_http_error_message().Michael Adam
Michael
2009-08-07make a const string const in send_http_headers().Michael Adam
Michael
2009-08-07make message argument of indicate_http_error() const.Michael Adam
Michael
2009-08-07make message argument to send_http_headers() constant.Michael Adam
Michael
2009-08-07add_error_variable(): make key and data arguments constMichael Adam
Michael
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman
2008-12-08Convert tabs to spacesMukund Sivaraman
2008-12-08Update Tinyproxy website URLMukund Sivaraman
2008-12-08Break at 80 columnsMukund Sivaraman
2008-12-01Reformat code to GNU coding styleMukund Sivaraman
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 Sivaraman
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 Sivaraman
Also fix the information that is displayed.
2008-07-14Add error number as a template parameter for error pagesMukund Sivaraman
2008-07-14Spruce up error page footers a bitMukund Sivaraman
2008-06-10Don't check the value to be inserted as it's already checkedMukund Sivaraman
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 Sivaraman