summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-06-05 23:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-06-05 23:02:26 +0100
commitc91680822df84f6db2f8ce650e457d59d37f3856 (patch)
treec2ff1cb796bbaeecc26544beeb1666fdb39ecae5 /cfg.c
parent37bb993f539012a65ea44e0e35f8cf88f27dfe19 (diff)
parent8f40796f05f2db0ff8b2c9231054b62b511a7ba0 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg.c b/cfg.c
index 18386b56..009c748c 100644
--- a/cfg.c
+++ b/cfg.c
@@ -126,6 +126,7 @@ load_cfg(const char *path, struct client *c, struct cmdq_item *item, int flags,
pi.flags = flags;
pi.file = path;
pi.line = 1;
+ pi.item = item;
pr = cmd_parse_from_file(f, &pi);
fclose(f);