From e276d73b22837cc56c7cae8c1ddf638cebfc3e9d Mon Sep 17 00:00:00 2001 From: Anton Dolozin Date: Wed, 5 Nov 2025 00:21:36 +0100 Subject: [PATCH] F --- du5/a_station.c | 1 + 1 file changed, 1 insertion(+) diff --git a/du5/a_station.c b/du5/a_station.c index 0918755..09005c2 100644 --- a/du5/a_station.c +++ b/du5/a_station.c @@ -99,6 +99,7 @@ int count_capacity(struct station* station){ struct car* ptr = *station->tracks; while (ptr){ res += ptr->capacity; + ptr = ptr->next; } return res;