Commit 8a986ce9 authored by Dag Haavi Finstad's avatar Dag Haavi Finstad

Fix 'varnishstat -l' segmentation fault.

Fixes: #1450
parent 2d38d194
......@@ -210,6 +210,10 @@ do_list_cb(void *priv, const struct VSC_point * const pt)
const struct VSC_section * sec;
(void)priv;
if (pt == NULL)
return (0);
sec = pt->section;
i = 0;
if (strcmp(sec->fantom->type, ""))
......
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