From 270af081716481a47a9b32d7152d186a02367215 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 5 Nov 2001 15:23:05 +0000 Subject: 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. --- ChangeLog | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7275834..4596938 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2001-11-03 Robert James Kaes + + * 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 * src/acl.c (insert_acl): Tightened the check regarding whether an @@ -6,7 +16,7 @@ 2001-10-25 Robert James Kaes * 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 -- cgit v1.2.3