summaryrefslogtreecommitdiff
path: root/src/utils.c (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2009-09-27Use correct format string for POSIX pid_t in pidfile_create()Mukund Sivaraman1-5/+11
2009-09-27Don't ignore retval of ftruncate() in utils.cMukund Sivaraman1-1/+5
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman1-157/+145
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman1-1/+1
2009-08-05utils: make headers constant in send_http_message() to reduce compiler warningsMichael Adam1-1/+1
2008-12-08Convert tabs to spacesMukund Sivaraman1-47/+47
2008-12-08Break at 80 columnsMukund Sivaraman1-1/+2
2008-12-01Reformat code to GNU coding styleMukund Sivaraman1-150/+158
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman1-15/+19
2008-03-13Renamed file to replace underscores in it with dashesMukund Sivaraman1-1/+1
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes1-148/+148
2005-07-12* Updated Copyright Email AddressesRobert James Kaes1-3/+2
2003-03-14(send_http_message): Changed the function to use the new http_messageRobert James Kaes1-31/+20
2003-03-13Moved the send_http_error_message() and indicate_http_error()Robert James Kaes1-70/+1
2002-12-04Removed the "bool_t" type since it conflicts with the newer C standards.Robert James Kaes1-2/+2
2002-11-21(create_file_safely): Rather than exiting the program if there is anRobert James Kaes1-10/+11
2002-07-09(create_file_safely):Robert James Kaes1-29/+29
2002-06-15Removed the rotate_log_files() function since I'm moving to an Apache style w...Robert James Kaes1-69/+1
2002-05-31(create_file_safely): Added the "truncate_file" boolean flag. This is needed...Robert James Kaes1-11/+23
2002-05-24Fixed a tonne of spelling mistakes.Robert James Kaes1-2/+2
2002-05-23Moved most of the function into separate files: the heap debuggingRobert James Kaes1-172/+3
2002-04-28Check the return value of the write_message() function.Robert James Kaes1-5/+6
2002-04-18Changed all calls to strdup to safestrdup. This should provide betterRobert James Kaes1-2/+2
2002-04-18Added the debuggin_strdup() function and the associated safestrdup()Robert James Kaes1-4/+38
2002-04-18Moved the log rotation code out of the signal handler and into it's ownRobert James Kaes1-1/+70
2002-04-16Removed the duplicate calls to strlen().Robert James Kaes1-5/+4
2002-04-15Added an assert() call to detect design errors.Robert James Kaes1-2/+6
2002-04-15Changed the error boolean flag into a pointer to an error string and anRobert James Kaes1-6/+21
2002-04-07Just a variable name change to make it easier to read.Robert James Kaes1-2/+2
2001-12-24Changed send_http_message() to use the write_message() function.Robert James Kaes1-34/+49
2001-12-20Updated the copyright notice.Robert James Kaes1-3/+3
2001-11-25send_message changed to send_response_message in the conn_s structure.Robert James Kaes1-2/+2
2001-11-23Added the chomp() function (to replace the trim() function reqs.c)Robert James Kaes1-1/+26
2001-11-22Reformated text.Robert James Kaes1-45/+69
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes1-5/+1
2001-10-25Some code clean up due to the creation of the conns.{c,h} files which nowRobert James Kaes1-1/+2
2001-10-24Error message cleanup to make the information more informative.Robert James Kaes1-8/+8
2001-09-16send_http_message() doesn't create a memory block and store it in theRobert James Kaes1-11/+5
2001-09-15Added the send_http_message() function to handle sending messages back toRobert James Kaes1-33/+42
2001-09-11Added the debugging realloc() function.Robert James Kaes1-1/+8
2001-09-08Added the debugging_(malloc|calloc|free) functions to help track memoryRobert James Kaes1-4/+32
2001-09-07Error message cleanup.Robert James Kaes1-11/+11
2001-08-30Removed the xstrstr() function since it is no longer used. reqs.c was theRobert James Kaes1-29/+1
2001-08-28Added an extra CRNL to the end of the HTML body.Robert James Kaes1-3/+3
2001-08-27Changed the MIME type to text/html rather than the incorrect text/mime.Robert James Kaes1-2/+2
2001-08-27Split the headers from the message body. Also now include proper headersRobert James Kaes1-7/+48
2001-05-27Changed all references to log() to log_message().Robert James Kaes1-21/+21
2001-01-15Fixed a potential security bug in http_err. There was a possibility of aRobert James Kaes1-2/+2
2000-09-12Removed the xmalloc() and xstrdup() functions.Robert James Kaes1-178/+189
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young1-0/+264