[master] 78308e3 White-space polishing

Poul-Henning Kamp phk at varnish-cache.org
Thu May 12 14:19:13 CEST 2011


commit 78308e370c32b2f2f5db249c97d9fadd9633e63e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu May 12 10:33:46 2011 +0000

    White-space polishing

diff --git a/bin/varnishd/cache_ban.c b/bin/varnishd/cache_ban.c
index 94ff84d..2ce40ef 100644
--- a/bin/varnishd/cache_ban.c
+++ b/bin/varnishd/cache_ban.c
@@ -549,7 +549,7 @@ ban_lurker_work(const struct sess *sp)
 	oh = oc->objhead;
 	CHECK_OBJ_NOTNULL(oh, OBJHEAD_MAGIC);
 	if (Lck_Trylock(&oh->mtx)) {
-		Lck_Unlock(&ban_mtx); 
+		Lck_Unlock(&ban_mtx);
 		return;
 	}
 
diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index d6101e1..5d2a0d7 100644
--- a/bin/varnishd/cache_center.c
+++ b/bin/varnishd/cache_center.c
@@ -166,7 +166,7 @@ cnt_prepresp(struct sess *sp)
 
 	sp->wrk->res_mode = 0;
 
-	if (!sp->wrk->do_stream || 
+	if (!sp->wrk->do_stream ||
 	    (sp->wrk->h_content_length != NULL && !sp->wrk->do_gunzip))
 		sp->wrk->res_mode |= RES_LEN;
 
diff --git a/lib/libvmod_std/vmod_std_fileread.c b/lib/libvmod_std/vmod_std_fileread.c
index f7654e2..fdc04a5 100644
--- a/lib/libvmod_std/vmod_std_fileread.c
+++ b/lib/libvmod_std/vmod_std_fileread.c
@@ -87,7 +87,7 @@ vmod_fileread(struct sess *sp, struct vmod_priv *priv, const char *file_name)
 		CAST_OBJ_NOTNULL(frf, priv->priv, CACHED_FILE_MAGIC);
 		return (frf->contents);
 	}
-	
+
 	AZ(pthread_mutex_lock(&frmtx));
 	VTAILQ_FOREACH(frf, &frlist, list) {
 		if (!strcmp(file_name, frf->file_name)) {



More information about the varnish-commit mailing list