From b4ed64dbfb66314c15bcd4b463e526abb59952d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Gejdo=C5=A1?= Date: Thu, 23 Apr 2026 13:43:18 +0000 Subject: [PATCH] ; --- du6/a_station.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du6/a_station.c b/du6/a_station.c index c1c6f64..c4be3ae 100644 --- a/du6/a_station.c +++ b/du6/a_station.c @@ -65,7 +65,7 @@ int count_targets(struct station* station){ int count_capacity(struct station* station){ int capacity = 0; - for (int i = 0; i < station -> track_count; i++;){ + for (int i = 0; i < station -> track_count; i++){ struct car* vagon = station ->tracks[i]; // kontrolujem kazdu kolaj, kazdy vagon linked hash tablu while (vagon) { capacity = capacity + vagon -> capacity;