summaryrefslogtreecommitdiff
path: root/src/html-error.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-10-11add crummy authentication supportninji-patchesTreeki1-1/+10
2011-02-28Update URLs of TinyproxyMukund Sivaraman1-1/+1
2010-03-28Revert "Update Tinyproxy website URLs"Mukund Sivaraman1-1/+1
This reverts commit b108162dfb408b4818a6ea8b2a148ddaf1506bbe.
2010-03-27Update Tinyproxy website URLsMukund Sivaraman1-1/+1
2010-01-25Remove bogus static qualifiers for these auto variablesMukund Sivaraman1-2/+2
2010-01-16Use HTTPS link in URLs to Tinyproxy websitesMukund Sivaraman1-1/+1
2009-12-07Move definition of "struct config_s" from main.h to conf.hMichael Adam1-0/+1
Michael
2009-10-02Clean up html_send_file ()Mukund Sivaraman1-23/+30
- Make function return from one place - Move inbuf to the heap
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman1-186/+180
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 Adam1-2/+3
and untangle assignment from check. Michael
2009-08-07html-error: make read only argument const in lookup_variable().Michael Adam1-1/+1
Michael
2009-08-07make a const string const in send_http_error_message().Michael Adam1-1/+1
Michael
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