summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-19 20:40:23 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-19 20:40:23 +0000
commit63a1fa96ccbe7a7099de721f5b72a4cbc43be8d4 (patch)
treed79e14798b9917c5b43277639908e7fd80595179 /ChangeLog
parente964cf0d3515b68c082ee43772ba936fd114a9a4 (diff)
downloadtinyproxy-63a1fa96ccbe7a7099de721f5b72a4cbc43be8d4.tar.gz
tinyproxy-63a1fa96ccbe7a7099de721f5b72a4cbc43be8d4.zip
Removed duplicate code from process_server_headers() and removed the calls
to strlen(); readline() already returns the length of the string, so use that instead.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 20d820c..f751dc0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* src/reqs.c (write_message): Encapsulate code to handle sending
snprintf() built lines to a file descriptor.
+ (process_server_headers): Removed duplicate code and used the
+ return value from readline() instead of recaculating it by
+ strlen().
2001-12-18 Robert James Kaes <rjkaes@flarenet.com>