]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
indent
authorhno <>
Sat, 13 Oct 2001 05:33:00 +0000 (05:33 +0000)
committerhno <>
Sat, 13 Oct 2001 05:33:00 +0000 (05:33 +0000)
src/client_side.cc
src/dns_internal.cc

index 24a0174763ae9f929d4873f81b85b53a3cfdda4f..77d433f21c26368bbb967dd8a1e56fb73eab4fa8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.546 2001/09/23 22:17:51 hno Exp $
+ * $Id: client_side.cc,v 1.547 2001/10/12 23:33:01 hno Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -1763,7 +1763,7 @@ clientPackMoreRanges(clientHttpRequest * http, const char *buf, ssize_t size, Me
 }
 
 static int
-clientReplyBodyTooLarge(HttpReply *rep, int clen)
+clientReplyBodyTooLarge(HttpReply * rep, int clen)
 {
     if (0 == rep->maxBodySize)
        return 0;               /* disabled */
@@ -1873,16 +1873,16 @@ clientSendMoreData(void *data, char *buf, ssize_t size)
            int rv;
            httpReplyBodyBuildSize(http->request, rep, &Config.ReplyBodySize);
            if (clientReplyBodyTooLarge(rep, rep->content_length)) {
-               ErrorState *err = errorCon(ERR_TOO_BIG, HTTP_FORBIDDEN);
-               err->request = requestLink(http->request);
-               storeUnregister(http->sc, http->entry, http);
-               http->sc = NULL;
-               storeUnlockObject(http->entry);
-               http->entry = clientCreateStoreEntry(http, http->request->method,
+               ErrorState *err = errorCon(ERR_TOO_BIG, HTTP_FORBIDDEN);
+               err->request = requestLink(http->request);
+               storeUnregister(http->sc, http->entry, http);
+               http->sc = NULL;
+               storeUnlockObject(http->entry);
+               http->entry = clientCreateStoreEntry(http, http->request->method,
                    null_request_flags);
-               errorAppendEntry(http->entry, err);
-               httpReplyDestroy(rep);
-           return;
+               errorAppendEntry(http->entry, err);
+               httpReplyDestroy(rep);
+               return;
            }
            body_size = size - rep->hdr_sz;
            assert(body_size >= 0);
@@ -2719,7 +2719,7 @@ clientReadRequest(int fd, void *data)
            conn->in.buf = xrealloc(conn->in.buf, conn->in.size);
        /* XXX account conn->in.buf */
        debug(33, 2) ("growing request buffer: offset=%ld size=%ld\n",
-             (long) conn->in.offset, (long) conn->in.size);
+           (long) conn->in.offset, (long) conn->in.size);
        len = conn->in.size - conn->in.offset - 1;
     }
     statCounter.syscalls.sock.reads++;
index c91033834ebf2d17ccb93ac2b10f735a4e6dd51c..6529e52ecd5a4f6f2dff043ee66d9f0dab480b1a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: dns_internal.cc,v 1.41 2001/10/01 14:20:02 hno Exp $
+ * $Id: dns_internal.cc,v 1.42 2001/10/12 23:33:00 hno Exp $
  *
  * DEBUG: section 78    DNS lookups; interacts with lib/rfc1035.c
  * AUTHOR: Duane Wessels
@@ -631,7 +631,7 @@ idnsInit(void)
         * statement. Doing so messes up the internal _db_level
         */
        port = comm_local_port(DnsSocket);
-       debug(78, 1) ("DNS Socket created at %s, port %d, FD %d\n", 
+       debug(78, 1) ("DNS Socket created at %s, port %d, FD %d\n",
            inet_ntoa(addr),
            port, DnsSocket);
     }