Commit e259c586 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Dump req->topreq

parent 07ad2fb8
......@@ -455,6 +455,20 @@ pan_busyobj(struct vsb *vsb, const struct busyobj *bo)
/*--------------------------------------------------------------------*/
static void
pan_top(struct vsb *vsb, const struct reqtop *top)
{
VSB_printf(vsb, "top = %p {\n", top);
if (PAN_already(vsb, top))
return;
VSB_indent(vsb, 2);
pan_req(vsb, top->topreq);
VSB_indent(vsb, -2);
VSB_printf(vsb, "},\n");
}
/*--------------------------------------------------------------------*/
static void
pan_req(struct vsb *vsb, const struct req *req)
{
......@@ -528,6 +542,9 @@ pan_req(struct vsb *vsb, const struct req *req)
pan_privs(vsb, req->privs);
if (req->top != NULL)
pan_top(vsb, req->top);
VSB_indent(vsb, -2);
VSB_printf(vsb, "},\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment