Commit ef9e5fff authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Go over the vcl-wrangling code and unspread the creation of the

VRT_CTX used for VCL events.
parent 9f292e81
This diff is collapsed.
......@@ -299,7 +299,7 @@ mgt_vcl_setstate(struct cli *cli, struct vclprog *vp, const char *vs)
vp->name, vp->warm, vp->state);
if (i) {
AN(cli);
AN(vp->warm);
XXXAN(vp->warm); /* XXX: should restart child instead */
VCLI_SetResult(cli, status);
VCLI_Out(cli, "%s", p);
}
......
......@@ -70,7 +70,7 @@ struct cli_proto {
/* a CLI session */
struct cli {
unsigned magic;
#define CLI_MAGIC 0x4038d570
#define CLI_MAGIC 0x4038d570
struct vsb *sb;
enum VCLI_status_e result;
char *cmd;
......
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