[master] 80c5b90 Fix typo.

Poul-Henning Kamp phk at FreeBSD.org
Sat Sep 10 14:41:08 CEST 2016


commit 80c5b9087eee8b327edf63ca43538793a8a77934
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Sep 10 12:40:10 2016 +0000

    Fix typo.
    
    It's amazing how long time it can take to spot a bug like this :-(

diff --git a/bin/varnishd/mgt/mgt_vcl.c b/bin/varnishd/mgt/mgt_vcl.c
index 897fe1a..612499f 100644
--- a/bin/varnishd/mgt/mgt_vcl.c
+++ b/bin/varnishd/mgt/mgt_vcl.c
@@ -179,7 +179,7 @@ mgt_vcl_dep_del(struct vcldep *vd)
 
 	CHECK_OBJ_NOTNULL(vd, VCLDEP_MAGIC);
 	VTAILQ_REMOVE(&vd->from->dfrom, vd, lfrom);
-	VTAILQ_REMOVE(&vd->to->dfrom, vd, lto);
+	VTAILQ_REMOVE(&vd->to->dto, vd, lto);
 	FREE_OBJ(vd);
 }
 



More information about the varnish-commit mailing list