[master] 0956e00 white space cleanup
Poul-Henning Kamp
phk at varnish-cache.org
Thu Feb 24 08:28:46 CET 2011
commit 0956e00858e2a2b5a27e5c675b19b26ad74f0b32
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Feb 24 07:28:39 2011 +0000
white space cleanup
diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index ac370be..844103c 100644
--- a/bin/varnishd/cache_center.c
+++ b/bin/varnishd/cache_center.c
@@ -655,7 +655,7 @@ cnt_fetch(struct sess *sp)
l += strlen("Content-Length: XxxXxxXxxXxxXxxXxx") + sizeof(void *);
if (sp->wrk->ttl < sp->t_req + params->shortlived ||
- sp->objcore == NULL)
+ sp->objcore == NULL)
sp->wrk->storage_hint = TRANSIENT_STORAGE;
sp->obj = STV_NewObject(sp, sp->wrk->storage_hint, l,
diff --git a/bin/varnishd/cache_expire.c b/bin/varnishd/cache_expire.c
index 1da3532..5d2e588 100644
--- a/bin/varnishd/cache_expire.c
+++ b/bin/varnishd/cache_expire.c
@@ -268,7 +268,7 @@ exp_timer(struct sess *sp, void *priv)
*/
if (oc->timer_when > t)
t = TIM_real();
- if (oc->timer_when > t) {
+ if (oc->timer_when > t) {
Lck_Unlock(&exp_mtx);
oc = NULL;
continue;
diff --git a/bin/varnishd/cache_hash.c b/bin/varnishd/cache_hash.c
index a33bf5e..b3363cc 100644
--- a/bin/varnishd/cache_hash.c
+++ b/bin/varnishd/cache_hash.c
@@ -483,7 +483,7 @@ hsh_rush(struct objhead *oh)
CHECK_OBJ_NOTNULL(wl, WAITINGLIST_MAGIC);
for (u = 0; u < params->rush_exponent; u++) {
sp = VTAILQ_FIRST(&wl->list);
- if (sp == NULL)
+ if (sp == NULL)
break;
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
AZ(sp->wrk);
@@ -700,7 +700,7 @@ HSH_Deref(struct worker *w, struct objcore *oc, struct object **oo)
if (oc->methods != NULL) {
oc_freeobj(oc);
w->stats.n_object--;
- }
+ }
FREE_OBJ(oc);
w->stats.n_objectcore--;
diff --git a/bin/varnishd/cache_httpconn.c b/bin/varnishd/cache_httpconn.c
index 93a7820..9f2640b 100644
--- a/bin/varnishd/cache_httpconn.c
+++ b/bin/varnishd/cache_httpconn.c
@@ -46,7 +46,7 @@ SVNID("$Id$")
* Check if we have a complete HTTP request or response yet
*
* Return values:
- * 0 No, keep trying
+ * 0 No, keep trying
* >0 Yes, it is this many bytes long.
*/
diff --git a/bin/varnishd/mgt_param.c b/bin/varnishd/mgt_param.c
index 7a9ba14..c215a54 100644
--- a/bin/varnishd/mgt_param.c
+++ b/bin/varnishd/mgt_param.c
@@ -485,7 +485,7 @@ tweak_diag_bitmap(struct cli *cli, const struct parspec *par, const char *arg)
#define WIZARD_TEXT \
"\nNB: Do not change this parameter, unless a developer tell " \
- "you to do so."
+ "you to do so."
/*
* Remember to update varnishd.1 whenever you add / remove a parameter or
diff --git a/bin/varnishd/storage_persistent.h b/bin/varnishd/storage_persistent.h
index 916272c..4841a2d 100644
--- a/bin/varnishd/storage_persistent.h
+++ b/bin/varnishd/storage_persistent.h
@@ -201,7 +201,7 @@ int smp_valid_silo(struct smp_sc *sc);
/*--------------------------------------------------------------------
* Caculate payload of some stuff
*/
-
+
static inline uint64_t
smp_stuff_len(const struct smp_sc *sc, unsigned stuff)
{
diff --git a/bin/varnishd/storage_persistent_subr.c b/bin/varnishd/storage_persistent_subr.c
index 62ca3bf..03f6d28 100644
--- a/bin/varnishd/storage_persistent_subr.c
+++ b/bin/varnishd/storage_persistent_subr.c
@@ -178,7 +178,7 @@ smp_new_sign(const struct smp_sc *sc, struct smp_signctx *ctx,
smp_sync_sign(ctx);
}
-/*-------------------------------------------------------------------:e
+/*--------------------------------------------------------------------
* Initialize a Silo with a valid but empty structure.
*
* XXX: more intelligent sizing of things.
More information about the varnish-commit
mailing list