From d55fc0686df257016ac4ab2bf14a81831c914c6a Mon Sep 17 00:00:00 2001 From: Yurii Chechur Date: Mon, 14 Oct 2024 11:11:21 +0000 Subject: [PATCH] Update cv3/program.c --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 9dc79fa..3b2503e 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -19,7 +19,7 @@ void push_stack(struct stack *s, float value) { s->size++; } else { printf("full stack\n"); - exit(1); // Exit the program on overflow + exit(0); // Exit the program on overflow } }