Commit 6c6a41a2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Actually do the VSL_flush on panics

parent c13365e0
......@@ -435,9 +435,10 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
if (!FEATURE(FEATURE_SHORT_PANIC)) {
req = THR_GetRequest();
if (req != NULL)
if (req != NULL) {
pan_req(req);
VSL_Flush(req->vsl, 0);
}
}
VSB_printf(pan_vsp, "\n");
VSB_bcat(pan_vsp, "", 1); /* NUL termination */
......
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