Commit 1ab4a156 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a couple of documenting asserts.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5114 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b3ad75ee
......@@ -85,6 +85,7 @@ static void
cli_cb_before(const struct cli *cli)
{
ASSERT_CLI();
VSL(SLT_CLI, 0, "Rd %s", cli->cmd);
VCL_Poll();
VBE_Poll();
......@@ -94,6 +95,8 @@ cli_cb_before(const struct cli *cli)
static void
cli_cb_after(const struct cli *cli)
{
ASSERT_CLI();
Lck_Unlock(&cli_mtx);
VSL(SLT_CLI, 0, "Wr %03u %u %s",
cli->result, vsb_len(cli->sb), vsb_data(cli->sb));
......@@ -167,7 +170,6 @@ static struct cli_proto master_cmds[] = {
{ NULL }
};
/*--------------------------------------------------------------------
* Initialize the CLI subsystem
*/
......
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