From: hno <> Date: Sat, 13 Oct 2001 05:33:00 +0000 (+0000) Subject: indent X-Git-Tag: SQUID_3_0_PRE1~1364 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6fbf89988c3c0717f5bd46ab2e5df09c88baaf2c;p=thirdparty%2Fsquid.git indent --- diff --git a/src/client_side.cc b/src/client_side.cc index 24a0174763..77d433f21c 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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++; diff --git a/src/dns_internal.cc b/src/dns_internal.cc index c91033834e..6529e52ecd 100644 --- a/src/dns_internal.cc +++ b/src/dns_internal.cc @@ -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); }