[master] 119d128 Log the correct attribute name on error
Federico G. Schwindt
fgsch at lodoss.net
Thu Oct 6 23:13:05 CEST 2016
commit 119d12890f8b72c3ff3fbcd226ec33f5477ab267
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Thu Oct 6 22:11:46 2016 +0100
Log the correct attribute name on error
diff --git a/bin/varnishd/cache/cache_vrt_var.c b/bin/varnishd/cache/cache_vrt_var.c
index 0667bde..d7e3be4 100644
--- a/bin/varnishd/cache/cache_vrt_var.c
+++ b/bin/varnishd/cache/cache_vrt_var.c
@@ -342,7 +342,7 @@ VRT_l_beresp_storage_hint(VRT_CTX, const char *str, ...)
b = VRT_String(ctx->bo->ws, NULL, str, ap); // XXX: ctx->ws ?
va_end(ap);
if (b == NULL) {
- VSLb(ctx->vsl, SLT_LostHeader, "storage.hint");
+ VSLb(ctx->vsl, SLT_LostHeader, "storage_hint");
WS_MarkOverflow(ctx->bo->beresp->ws);
return;
}
More information about the varnish-commit
mailing list