Mailing List Archive

[master] c13c71f80 Fix pan_top() expected magic
commit c13c71f8065659a51fb364bb95153e7cee8abd03
Author: Nils Goroll <nils.goroll@uplex.de>
Date: Sat Jan 23 14:26:53 2021 +0100

Fix pan_top() expected magic

A copy-pasta in 55dffc3585685f2a67e3228094aea9ca9d986798 prevented the
top request from being dumped.

diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index 91268deaa..954d2949b 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -411,7 +411,7 @@ pan_busyobj(struct vsb *vsb, const struct busyobj *bo)
static void
pan_top(struct vsb *vsb, const struct reqtop *top)
{
- if (PAN_dump_struct(vsb, top, REQ_MAGIC, "top"))
+ if (PAN_dump_struct(vsb, top, REQTOP_MAGIC, "top"))
return;
pan_req(vsb, top->topreq);
pan_privs(vsb, top->privs);
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit