Commit 384292c2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Redraw must be checked when we update, we cannot trust

that we will actually have a timeout.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@896 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 4e379223
......@@ -134,6 +134,8 @@ h_hist(void *priv, unsigned tag, unsigned fd, unsigned len, unsigned spec, const
next_hist = 0;
}
hh[fd] = 0;
if (redraw)
r_hist();
return (0);
}
......@@ -192,8 +194,6 @@ main(int argc, char **argv)
i = VSL_Dispatch(vd, h_hist, NULL);
if (i < 0)
break;
if (redraw)
r_hist();
}
return (0);
......
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