Commit 108276a1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Strip marker bits from vxids

parent e8641aac
...@@ -215,7 +215,7 @@ pan_object(const char *typ, const struct object *o) ...@@ -215,7 +215,7 @@ pan_object(const char *typ, const struct object *o)
const struct storage *st; const struct storage *st;
VSB_printf(pan_vsp, " obj (%s) = %p {\n", typ, o); VSB_printf(pan_vsp, " obj (%s) = %p {\n", typ, o);
VSB_printf(pan_vsp, " vxid = %u,\n", o->vxid); VSB_printf(pan_vsp, " vxid = %u,\n", VXID(o->vxid));
pan_http("obj", o->http, 4); pan_http("obj", o->http, 4);
VSB_printf(pan_vsp, " len = %jd,\n", (intmax_t)o->len); VSB_printf(pan_vsp, " len = %jd,\n", (intmax_t)o->len);
VSB_printf(pan_vsp, " store = {\n"); VSB_printf(pan_vsp, " store = {\n");
...@@ -335,7 +335,8 @@ pan_req(const struct req *req) ...@@ -335,7 +335,8 @@ pan_req(const struct req *req)
VSB_printf(pan_vsp, "req = %p {\n", req); VSB_printf(pan_vsp, "req = %p {\n", req);
VSB_printf(pan_vsp, " sp = %p, vxid = %u,", req->sp, req->vsl->wid); VSB_printf(pan_vsp, " sp = %p, vxid = %u,",
req->sp, VXID(req->vsl->wid));
switch (req->req_step) { switch (req->req_step) {
#define REQ_STEP(l, u, arg) case R_STP_##u: stp = "R_STP_" #u; break; #define REQ_STEP(l, u, arg) case R_STP_##u: stp = "R_STP_" #u; break;
......
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