From 2edfbcb74dc10ef80dffd59dcf4b3c13b2abfa5e Mon Sep 17 00:00:00 2001 From: rousskov <> Date: Thu, 26 Feb 1998 07:09:23 +0000 Subject: [PATCH] - Fixed bug that removed first line of the message body. - Fixed bug that could ignore first message header. --- src/cachemgr.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cachemgr.cc b/src/cachemgr.cc index 2d7a8af3c6..b0be48308c 100644 --- a/src/cachemgr.cc +++ b/src/cachemgr.cc @@ -1,5 +1,5 @@ /* - * $Id: cachemgr.cc,v 1.69 1998/02/25 09:53:55 rousskov Exp $ + * $Id: cachemgr.cc,v 1.70 1998/02/26 00:09:23 rousskov Exp $ * * DEBUG: section 0 CGI Cache Manager * AUTHOR: Duane Wessels @@ -359,7 +359,7 @@ read_reply(int s, cachemgr_request * req) } /* this is a way to pass HTTP status to the Web server */ if (statusStr) - printf("Status: %d %s", status, statusStr); + printf("Status: %d %s\n", status, statusStr); break; case isHeaders: /* forward header field */ @@ -383,7 +383,7 @@ read_reply(int s, cachemgr_request * req) printf("
\n"); } istate = isBody; - break; + /* yes, fall through, we do not want to loose the first line */ case isBody: /* interpret [and reformat] cache response */ if (parse_menu) -- 2.47.3