diff options
author | Maria Matejka <mq@ucw.cz> | 2022-07-11 11:08:10 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-07-11 11:08:10 +0200 |
commit | 2e5bfeb73ac25e236a24b6c1a88d0f2221ca303f (patch) | |
tree | 396657a62a5a63b0a304268bd011934f56d414ce /filter/filter.c | |
parent | d429bc5c841a8e9d4c81786973edfa56d20a407e (diff) | |
parent | cb339a30677901f2c248de08ff535cf0a9efab3d (diff) |
Merge remote-tracking branch 'origin/master' into backport
Diffstat (limited to 'filter/filter.c')
-rw-r--r-- | filter/filter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/filter.c b/filter/filter.c index 7004b96d..d8a58d0a 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -220,8 +220,7 @@ interpret(struct filter_state *fs, const struct f_line *line, struct f_val *val) } /* End of current line. Drop local variables before exiting. */ - fstk->vcnt -= curline.line->vars; - fstk->vcnt -= curline.line->args; + fstk->vcnt = curline.ventry + curline.line->results; fstk->ecnt--; } |