[master] 00f70d0 Polish
Federico G. Schwindt
fgsch at lodoss.net
Thu Aug 24 13:01:06 CEST 2017
commit 00f70d05abbf35813030065bd265dd01c8c93511
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Thu Aug 24 11:59:45 2017 +0100
Polish
diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index b4b304a..4590754 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -79,7 +79,7 @@ struct varnish {
struct vsm *vd; /* vsc use */
struct vsm *vdl; /* log use */
int has_a_arg;
- struct vsm_fantom mgt_arg_i;
+ struct vsm_fantom vf;
unsigned vsl_tag_count[256];
@@ -534,7 +534,7 @@ varnish_launch(struct varnish *v)
v->vd = VSM_New();
(void)VSM_n_Arg(v->vd, v->workdir);
AZ(VSM_Start(v->vd, vtc_maxdur, -1));
- assert(VSM_Get(v->vd, &v->mgt_arg_i, "Arg", "-i") > 0);
+ assert(VSM_Get(v->vd, &v->vf, "Arg", "-i") > 0);
v->vdl = VSM_New();
(void)VSM_n_Arg(v->vdl, v->workdir);
@@ -855,7 +855,7 @@ varnish_vsc(struct varnish *v, const char *arg)
memset(&dp, 0, sizeof dp);
dp.v = v;
dp.arg = arg;
- if (VSM_StillValid(v->vd, &v->mgt_arg_i) != VSM_valid) {
+ if (VSM_StillValid(v->vd, &v->vf) != VSM_valid) {
VSM_Close(v->vd);
if (VSM_Open(v->vd) < 0)
vtc_fatal(v->vl, "Could not open VSM (%s)",
@@ -926,7 +926,7 @@ varnish_expect(struct varnish *v, char * const *av)
ref = 0;
good = 0;
for (i = 0; i < 10; i++, (void)usleep(100000)) {
- if (VSM_StillValid(v->vd, &v->mgt_arg_i) != VSM_valid) {
+ if (VSM_StillValid(v->vd, &v->vf) != VSM_valid) {
VSM_Close(v->vd);
good = VSM_Open(v->vd);
}
More information about the varnish-commit
mailing list