From 0fb2fa7393d9e58288c0dea4327160b836687d11 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Tue, 16 Apr 2002 03:22:44 +0000 Subject: Various changes in the src/anonymous.c and src/reqs.c files. --- ChangeLog | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 56493ae..d9229cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2002-04-15 Robert James Kaes + + * src/anonymous.c (anonymous_insert): Now returns -1 upon error, + and 0 upon success. This simplified the code, since I don't care + whether the sucess is from a sucessful insert, or because the + string was already present in the hashmap. + (anonymous_search): The function now returns a postive number + greater than zero if the string was found, otherwise zero or a + negative value is returned. Needed to change the _one_ call to + this function to use the new return method. + + * src/reqs.c (pull_client_data): Moved the common error exit + together. Better, smaller code is produced. + (add_header_to_connection): Changed the code a bit to remove the + call to strlen() and the variable associated with it. + (establish_http_connection): Changed the three calls to + write_message() and safe_write() into one combined call to + write_message(). + (send_ssl_response): Replaced the three calls to safe_write() into + one call to write_message(). + (extract_http_url): Moved the common error code into it's own + section and jump to it upon error. + 2002-04-14 Robert James Kaes * src/utils.c (chomp): Added an assert to detect a design error. -- cgit v1.2.3