Commit 0956e008 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

white space cleanup

parent 1c7c4005
......@@ -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,
......
......@@ -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;
......
......@@ -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--;
......
......@@ -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.
*/
......
......@@ -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
......
......@@ -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)
{
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment