[master] 047c517 Set VSL_COPT_TAILSTOP when -d is in effect
Martin Blix Grydeland
martin at varnish-cache.org
Thu Oct 10 16:48:39 CEST 2013
commit 047c517f210348d631eec949df9231c27ce7b759
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Thu Oct 10 15:37:10 2013 +0200
Set VSL_COPT_TAILSTOP when -d is in effect
diff --git a/lib/libvarnishtools/vut.c b/lib/libvarnishtools/vut.c
index 8f454ca..e8d022d 100644
--- a/lib/libvarnishtools/vut.c
+++ b/lib/libvarnishtools/vut.c
@@ -213,7 +213,8 @@ VUT_Setup(void)
VUT_Error(1, "Can't open VSM file (%s)",
VSM_Error(VUT.vsm));
c = VSL_CursorVSM(VUT.vsl, VUT.vsm,
- (VUT.d_opt ? 0 : VSL_COPT_TAIL) | VSL_COPT_BATCH);
+ (VUT.d_opt ? VSL_COPT_TAILSTOP : VSL_COPT_TAIL)
+ | VSL_COPT_BATCH);
}
if (c == NULL)
VUT_Error(1, "Can't open log (%s)", VSL_Error(VUT.vsl));
More information about the varnish-commit
mailing list