]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Thu, 11 Apr 1996 10:48:08 +0000 (10:48 +0000)
committerwessels <>
Thu, 11 Apr 1996 10:48:08 +0000 (10:48 +0000)
src/errorpage.cc
src/stat.cc

index d2c7e046bdec833a4c0e6664acb97dc0cdb50a3e..a1536e351766b1cda60cf426abc15da8ff108f50 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: errorpage.cc,v 1.17 1996/04/11 04:47:20 wessels Exp $ */
+/* $Id: errorpage.cc,v 1.18 1996/04/11 04:48:08 wessels Exp $ */
 
 /* DEBUG: Section 4             cached_error: Error printing routines */
 
@@ -213,13 +213,13 @@ char *cached_error_request(request, type, address, code)
     return tmp_error_buf;
 }
 
-char *access_denied_msg (code, method, url, client)
-       int code;
-       int method;
-       char *url;
-       char *client;
+char *access_denied_msg(code, method, url, client)
+     int code;
+     int method;
+     char *url;
+     char *client;
 {
-       sprintf(tmp_error_buf, "\
+    sprintf(tmp_error_buf, "\
 HTTP/1.0 %d Access Denied\r\n\
 Content-type: text/html\r\n\
 \r\n\
@@ -239,5 +239,5 @@ Generated by cached/%s@%s\n\
        url,
        version_string,
        getMyHostname());
-       return tmp_error_buf;
+    return tmp_error_buf;
 }
index 5cc0b7cc33819a5e37a60196049dd997db14f34c..d95c397d997c01ef9f1d4cfcfe93fafca0d543ec 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stat.cc,v 1.20 1996/04/11 04:47:25 wessels Exp $ */
+/* $Id: stat.cc,v 1.21 1996/04/11 04:48:09 wessels Exp $ */
 
 /*
  * DEBUG: Section 18          stat
@@ -963,20 +963,20 @@ protocol_t proto_url_to_id(url)
 }
 
 int proto_default_port(p)
-       protocol_t p;
+     protocol_t p;
 {
-       switch(p) {
-       case PROTO_HTTP:
-               return 80;
-       case PROTO_FTP:
-               return 21;
-       case PROTO_GOPHER:
-               return 70;
-       case PROTO_CACHEOBJ:
-               return CACHE_HTTP_PORT;
-       default:
-               return 0;
-       }
+    switch (p) {
+    case PROTO_HTTP:
+       return 80;
+    case PROTO_FTP:
+       return 21;
+    case PROTO_GOPHER:
+       return 70;
+    case PROTO_CACHEOBJ:
+       return CACHE_HTTP_PORT;
+    default:
+       return 0;
+    }
 }