[6.0] 1c6d80ed5 Tidy up
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Jun 27 17:05:09 UTC 2019
commit 1c6d80ed5afd636a17ce470811e08e4387ec3cef
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Fri Dec 21 16:46:14 2018 +0000
Tidy up
Conflicts:
bin/varnishd/cache/cache_fetch.c
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 4193c4e2c..ad44b3041 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -569,8 +569,6 @@ vbf_figure_out_vfp(struct busyobj *bo)
static enum fetch_step
vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
{
- const char *p;
-
CHECK_OBJ_NOTNULL(wrk, WORKER_MAGIC);
CHECK_OBJ_NOTNULL(bo, BUSYOBJ_MAGIC);
CHECK_OBJ_NOTNULL(bo->fetch_objcore, OBJCORE_MAGIC);
@@ -610,8 +608,8 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
if (!(bo->fetch_objcore->flags & OC_F_HFM) &&
http_IsStatus(bo->beresp, 200) && (
- http_GetHdr(bo->beresp, H_Last_Modified, &p) ||
- http_GetHdr(bo->beresp, H_ETag, &p)))
+ http_GetHdr(bo->beresp, H_Last_Modified, NULL) ||
+ http_GetHdr(bo->beresp, H_ETag, NULL)))
ObjSetFlag(bo->wrk, bo->fetch_objcore, OF_IMSCAND, 1);
if (bo->htc->body_status != BS_NONE &&
More information about the varnish-commit
mailing list