Remove two spurious newlines in shmlog messages.
Assert that restarts is zero when we begin.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3295
d4fa192b-c00b-0410-8231-
f00ffab90ce4
*/
assert(sp->xid == 0);
+ assert(sp->restarts == 0);
VCA_Prep(sp);
/* Record the session watermark */
(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[] = {
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++;