Skip to content

Commit 196ff43

Browse files
committed
fix(call): cob_push_call_stack_list issue
* Fixed an issue connecting to the wrong node when add new sister node at cob_push_call_stack_list function.
1 parent 6f3a875 commit 196ff43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcob/call.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ cob_push_call_stack_list (char *name)
768768
}
769769
p = p->sister;
770770
}
771-
current_call_stack_list->sister = cob_create_call_stack_list (name);
771+
p->sister = cob_create_call_stack_list (name);
772772
return;
773773
}
774774

0 commit comments

Comments
 (0)