diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-11-05 15:23:05 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-11-05 15:23:05 +0000 |
commit | 270af081716481a47a9b32d7152d186a02367215 (patch) | |
tree | 39d483d10c2816bf372042d0502f0e79fdf2b522 /ChangeLog | |
parent | 3d9a64d54e46c813db806b467c50a39e6811ba99 (diff) | |
download | tinyproxy-270af081716481a47a9b32d7152d186a02367215.tar.gz tinyproxy-270af081716481a47a9b32d7152d186a02367215.zip |
Removed the buffer_size() function and turned it into BUFFER_SIZE() macro.
Moved the struct buffer_s into the header file. Added more assert() calls
to better document the assumptions the functions make. Removed incorrect
code in remove_from_buffer() which was never actually called anyway.
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,13 @@ +2001-11-03 Robert James Kaes <rjkaes@flarenet.com> + + * src/buffer.c (remove_from_buffer): This function is never + called with an empty buffer, so removed some inaccurate code which + would have removed an invalid line from the buffer if it was + empty. What was I thinking when I wrote that? Good thing is was + never called. + (add_to_buffer): Add a bit of a sanity check to make sure the + buffer structure hasn't been messed up some how. + 2001-11-02 Robert James Kaes <rjkaes@flarenet.com> * src/acl.c (insert_acl): Tightened the check regarding whether an @@ -6,7 +16,7 @@ 2001-10-25 Robert James Kaes <rjkaes@flarenet.com> * Moved all the system header included into the tinyproxy.h header - and changed all the other files to include it. The should + and changed all the other files to include it. This should centralise the header dependency issue into one file. * src/conns.c: Brought back the conns.{c,h} files which contain |