]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
html cleanup
authorwessels <>
Thu, 29 Aug 1996 22:54:16 +0000 (22:54 +0000)
committerwessels <>
Thu, 29 Aug 1996 22:54:16 +0000 (22:54 +0000)
src/errorpage.cc
src/stat.cc

index 475051edfb06cb1fad8b26d1fb3ebb8a62532fb1..d23489f0839717a1f3ae496b21f6acc45111c9c3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: errorpage.cc,v 1.33 1996/08/26 23:27:12 wessels Exp $
+ * $Id: errorpage.cc,v 1.34 1996/08/29 16:54:22 wessels Exp $
  *
  * DEBUG: section 4     Error Generation
  * AUTHOR: Duane Wessels
@@ -286,10 +286,11 @@ char *authorization_needed_msg(request, realm)
      request_t *request;
      char *realm;
 {
-    sprintf(auth_msg, "<TITLE>Authorization needed</TITLE>\n\
-Sorry, you have to authorize yourself to request\n\
+    sprintf(auth_msg, "<HTML><HEAD><TITLE>Authorization needed</TITLE>\n\
+</HEAD><BODY><H1>Authorization needed</H1>\n\
+<P>Sorry, you have to authorize yourself to request\n\
 <PRE>    ftp://%s@%s%s</PRE>\n\
-from this cache.  Please check with the\n\
+<P>from this cache.  Please check with the\n\
 <A HREF=\"mailto:%s\">cache administrator</A>\n\
 if you believe this is incorrect.\n\
 <P>\n\
@@ -297,7 +298,7 @@ if you believe this is incorrect.\n\
 <HR>\n\
 <ADDRESS>\n\
 Generated by %s/%s@%s\n\
-</ADDRESS>\n\
+</ADDRESS></BODY></HTML>\n\
 \n",
        request->login,
        request->host,
index 23bed56054a6f328da392e49612a22671472fcd9..9a5a73976e884c2860dbbfbb17141a7092dc9f64 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: stat.cc,v 1.55 1996/08/27 05:51:38 wessels Exp $
+ * $Id: stat.cc,v 1.56 1996/08/29 16:54:16 wessels Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -548,7 +548,6 @@ static void statFiledescriptors(sentry)
        "Remote Address",
        "Description");
     storeAppendPrintf(sentry, "{---- ------ ---- ---- --------------------- ------------------------------}\n");
-    storeAppendPrintf(sentry, "{}\n");
     for (i = 0; i < FD_SETSIZE; i++) {
        if (!fdstat_isopen(i))
            continue;