Commit 046646bd authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

nitpicking:

Remove two spurious newlines in shmlog messages.
Assert that restarts is zero when we begin.



git-svn-id: http://www.varnish-cache.org/svn/trunk@3295 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 021ec303
......@@ -465,6 +465,7 @@ cnt_first(struct sess *sp)
*/
assert(sp->xid == 0);
assert(sp->restarts == 0);
VCA_Prep(sp);
/* Record the session watermark */
......@@ -1059,7 +1060,7 @@ cli_debug_xid(struct cli *cli, const char * const *av, void *priv)
(void)priv;
if (av[2] != NULL)
xids = strtoul(av[2], NULL, 0);
cli_out(cli, "XID is %u\n", xids);
cli_out(cli, "XID is %u", xids);
}
static struct cli_proto debug_cmds[] = {
......
......@@ -171,7 +171,7 @@ VCL_Load(const char *fn, const char *name, struct cli *cli)
if (vcl_active == NULL)
vcl_active = vcl;
UNLOCK(&vcl_mtx);
cli_out(cli, "Loaded \"%s\" as \"%s\"\n", fn , name);
cli_out(cli, "Loaded \"%s\" as \"%s\"", fn , name);
vcl->conf->init_func(cli);
VSL_stats->n_vcl++;
VSL_stats->n_vcl_avail++;
......
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