[master] 9c599ba Gah! spell "committed" right.

Poul-Henning Kamp phk at FreeBSD.org
Thu Jan 16 14:47:40 CET 2014


commit 9c599baa245fc2705c10c17a1193ce218c36cace
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Jan 16 12:52:15 2014 +0000

    Gah!  spell "committed" right.

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 1c0a203..baf09a1 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -502,7 +502,7 @@ oc_getlru(const struct objcore *oc)
 enum busyobj_state_e {
 	BOS_INVALID = 0,	/* don't touch (yet) */
 	BOS_REQ_DONE,		/* beresp.* can be examined */
-	BOS_COMITTED,		/* beresp.* can be examined */
+	BOS_COMMITTED,		/* beresp.* can be examined */
 	BOS_FETCHING,		/* beresp.* can be examined */
 	BOS_FINISHED,		/* object is complete */
 	BOS_FAILED,		/* something went wrong */
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index defba02..a1aafcd 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -248,7 +248,7 @@ vbf_stp_fetchhdr(struct worker *wrk, struct busyobj *bo)
 	}
 
 	if (bo->state == BOS_REQ_DONE)
-		VBO_setstate(bo, BOS_COMITTED);	
+		VBO_setstate(bo, BOS_COMMITTED);	
 
 	if (bo->do_esi)
 		bo->do_stream = 0;
@@ -455,7 +455,7 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
 	if (bo->do_stream)
 		HSH_Unbusy(&wrk->stats, obj->objcore);
 
-	if (bo->state == BOS_COMITTED)
+	if (bo->state == BOS_COMMITTED)
 		VBO_setstate(bo, BOS_FETCHING);
 	else if (bo->state != BOS_FAILED)
 		WRONG("Wrong bo->state");



More information about the varnish-commit mailing list