From: wessels <> Date: Thu, 11 Apr 1996 10:48:08 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~6216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c9fc2168e1cc7e6421c72fb53cc5706412fa78;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/errorpage.cc b/src/errorpage.cc index d2c7e046bd..a1536e3517 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -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; } diff --git a/src/stat.cc b/src/stat.cc index 5cc0b7cc33..d95c397d99 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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; + } }