Commit d5274835 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Merge r5114: Add a couple of documenting asserts.


git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5325 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c8e93997
......@@ -86,6 +86,7 @@ static void
cli_cb_before(const struct cli *cli)
{
ASSERT_CLI();
VSL(SLT_CLI, 0, "Rd %s", cli->cmd);
VCL_Poll();
VBE_Poll();
......@@ -95,6 +96,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));
......@@ -168,7 +171,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