From 63a1fa96ccbe7a7099de721f5b72a4cbc43be8d4 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Wed, 19 Dec 2001 20:40:23 +0000 Subject: 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. --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') 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 -- cgit v1.2.3