aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sc_interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 111c126..bbd1e75 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -573,7 +573,7 @@ static int check_outputs(SCBlock *bl, SCInterpreter *scin)
if ( fr == NULL ) {
fr = add_subframe(sc_interp_get_frame(scin));
sc_block_set_frame(bl, fr);
- fr->scblocks = child;
+ fr->scblocks = bl;
}
if ( fr == NULL ) {
fprintf(stderr, "Failed to add frame.\n");