[master] e5261b2 Polish
Poul-Henning Kamp
phk at FreeBSD.org
Mon Jan 12 21:18:24 CET 2015
commit e5261b289206fd07cac8cc995564ef6594e45753
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Jan 12 20:18:16 2015 +0000
Polish
diff --git a/bin/varnishd/cache/cache_backend.c b/bin/varnishd/cache/cache_backend.c
index 14dcf9f..21b599c 100644
--- a/bin/varnishd/cache/cache_backend.c
+++ b/bin/varnishd/cache/cache_backend.c
@@ -503,7 +503,7 @@ vbe_dir_http1pipe(const struct director *d, struct req *req, struct busyobj *bo)
void
VRT_init_vbe(VRT_CTX, struct director **bp, int idx,
- const struct vrt_backend *t)
+ const struct vrt_backend *vrt)
{
struct vbe_dir *vs;
@@ -515,16 +515,16 @@ VRT_init_vbe(VRT_CTX, struct director **bp, int idx,
vs->dir.magic = DIRECTOR_MAGIC;
vs->dir.priv = vs;
vs->dir.name = "simple";
- REPLACE(vs->dir.vcl_name, t->vcl_name);
+ REPLACE(vs->dir.vcl_name, vrt->vcl_name);
vs->dir.http1pipe = vbe_dir_http1pipe;
vs->dir.healthy = vbe_dir_healthy;
vs->dir.gethdrs = vbe_dir_gethdrs;
vs->dir.getbody = vbe_dir_getbody;
vs->dir.finish = vbe_dir_finish;
- vs->vrt = t;
+ vs->vrt = vrt;
- vs->backend = VBE_AddBackend(NULL, t);
+ vs->backend = VBE_AddBackend(NULL, vrt);
if (vs->vrt->probe != NULL)
VBP_Insert(vs->backend, vs->vrt->probe, vs->vrt->hosthdr);
diff --git a/bin/varnishd/cache/cache_backend.h b/bin/varnishd/cache/cache_backend.h
index bf3e789..26cd2c9 100644
--- a/bin/varnishd/cache/cache_backend.h
+++ b/bin/varnishd/cache/cache_backend.h
@@ -88,7 +88,7 @@ struct vbc {
#define VBC_MAGIC 0x0c5e6592
VTAILQ_ENTRY(vbc) list;
struct backend *backend;
- struct vbe_dir *vdis;
+ struct vbe_dir *vdis;
int fd;
struct suckaddr *addr;
More information about the varnish-commit
mailing list