[master] 9d5ca14 White-space fixups
Poul-Henning Kamp
phk at varnish-cache.org
Wed Apr 20 12:35:38 CEST 2011
commit 9d5ca140785c40197988f731920831ea4d6fe19f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Apr 20 09:52:25 2011 +0000
White-space fixups
diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index 691187c..671cf9f 100644
--- a/bin/varnishd/cache_center.c
+++ b/bin/varnishd/cache_center.c
@@ -535,8 +535,8 @@ cnt_fetch(struct sess *sp)
/*
* Figure out how the fetch is supposed to happen, before the
* headers are adultered by VCL
- * NB: Also sets other sp->wrk variables
- */
+ * NB: Also sets other sp->wrk variables
+ */
sp->wrk->body_status = RFC2616_Body(sp);
sp->err_code = http_GetStatus(sp->wrk->beresp);
diff --git a/bin/varnishd/cache_fetch.c b/bin/varnishd/cache_fetch.c
index 488575d..dfa43cc 100644
--- a/bin/varnishd/cache_fetch.c
+++ b/bin/varnishd/cache_fetch.c
@@ -538,7 +538,7 @@ FetchBody(struct sess *sp)
INCOMPL();
}
AZ(sp->wrk->vgz_rx);
-
+
/*
* It is OK for ->end to just leave the last storage segment
* sitting on sp->wrk->storage, we will always call vfp_nop_end()
diff --git a/bin/varnishd/mgt_sandbox.c b/bin/varnishd/mgt_sandbox.c
index c6ec1e8..9f6d343 100644
--- a/bin/varnishd/mgt_sandbox.c
+++ b/bin/varnishd/mgt_sandbox.c
@@ -106,7 +106,7 @@ mgt_sandbox(void)
*/
priv_addset(minimal, "net_access");
-#define SETPPRIV(which, set) \
+#define SETPPRIV(which, set) \
if (setppriv(PRIV_SET, which, set)) \
REPORT0(LOG_ERR, \
"Waiving privileges failed on " #which)
diff --git a/bin/varnishd/rfc2616.c b/bin/varnishd/rfc2616.c
index 20d3b7c..a871ae3 100644
--- a/bin/varnishd/rfc2616.c
+++ b/bin/varnishd/rfc2616.c
@@ -167,7 +167,7 @@ RFC2616_Ttl(const struct sess *sp)
ttl = (int)(h_expires - h_date);
}
- }
+ }
/* calculated TTL, Our time, Date, Expires, max-age, age */
WSP(sp, SLT_TTL, "%u RFC %g %.0f %.0f %.0f %u %u", sp->xid,
diff --git a/bin/varnishd/storage_persistent_silo.c b/bin/varnishd/storage_persistent_silo.c
index 12de04a..9635628 100644
--- a/bin/varnishd/storage_persistent_silo.c
+++ b/bin/varnishd/storage_persistent_silo.c
@@ -433,7 +433,7 @@ smp_oc_getobj(struct worker *wrk, struct objcore *oc)
if(bad) {
EXP_Set_ttl(&o->exp, -1);
so->ttl = 0;
- }
+ }
sg->nfixed++;
wrk->stats.n_object++;
diff --git a/bin/varnishd/vsm.c b/bin/varnishd/vsm.c
index 92c3830..3771aab 100644
--- a/bin/varnishd/vsm.c
+++ b/bin/varnishd/vsm.c
@@ -33,7 +33,7 @@
* The VSM studying programs only have read-only access to the VSM
* so everybody else must use memory barriers, stable storage and
* similar tricks to keep the VSM image in sync (long enough) for
- * the studying programs.
+ * the studying programs.
*
* Manager process vs child process.
* Will only muck about in VSM when child process is not running
diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index c2066b0..d53e991 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -340,7 +340,7 @@ main(int argc, char * const *argv)
switch (ch) {
case 'D':
if (!parse_D_opt(optarg)) {
- fprintf(stderr, "Cannot parse D opt '%s'\n",
+ fprintf(stderr, "Cannot parse D opt '%s'\n",
optarg);
exit(2);
}
diff --git a/include/vsm.h b/include/vsm.h
index caaae06..2beb530 100644
--- a/include/vsm.h
+++ b/include/vsm.h
@@ -92,7 +92,7 @@ vsm_iter_0(void)
CHECK_OBJ_NOTNULL(&vsm_head->head, VSM_CHUNK_MAGIC);
return (&vsm_head->head);
}
-
+
static inline void
vsm_iter_n(struct vsm_chunk **pp)
{
More information about the varnish-commit
mailing list