From 3d7dcdd3c15e5561849f0c79e149b8f7251727f1 Mon Sep 17 00:00:00 2001 From: oes Date: Sun, 5 Aug 2001 15:57:38 +0000 Subject: [PATCH] Adapted finish_http_response to new list_to_text --- cgi.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cgi.c b/cgi.c index 77a7e6c2..7326bca4 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -const char cgi_rcs[] = "$Id: cgi.c,v 1.15 2001/08/01 21:19:22 jongfoster Exp $"; +const char cgi_rcs[] = "$Id: cgi.c,v 1.16 2001/08/01 21:33:18 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ @@ -36,6 +36,11 @@ const char cgi_rcs[] = "$Id: cgi.c,v 1.15 2001/08/01 21:19:22 jongfoster Exp $"; * * Revisions : * $Log: cgi.c,v $ + * Revision 1.16 2001/08/01 21:33:18 jongfoster + * Changes to fill_template() that reduce memory usage without having + * an impact on performance. I also renamed some variables so as not + * to clash with the C++ keywords "new" and "template". + * * Revision 1.15 2001/08/01 21:19:22 jongfoster * Moving file version information to a separate CGI page. * @@ -840,8 +845,7 @@ struct http_response *finish_http_response(struct http_response *rsp) enlist_unique(rsp->headers, "Last-Modified: Thu Jul 31, 1997 07:42:22 pm GMT", 14); enlist_unique(rsp->headers, "Expires: Thu Jul 31, 1997 07:42:22 pm GMT", 8); enlist_unique(rsp->headers, "Content-Type: text/html", 13); - enlist(rsp->headers, ""); - + /* * Write the head -- 2.39.2