From 72da9313a4d7cd091314141f1929462e7c9846b8 Mon Sep 17 00:00:00 2001 From: Anton Dolozin Date: Tue, 4 Nov 2025 23:27:19 +0100 Subject: [PATCH] Fixing adding problem --- du5/a_station.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du5/a_station.c b/du5/a_station.c index 39e411d..17b5280 100644 --- a/du5/a_station.c +++ b/du5/a_station.c @@ -35,7 +35,7 @@ void add_target_capacity(struct station* station,const char* target, int capacit if(count == res){ break; } - else if (ptr->value == target){ + if (ptr->value == target){ ptr->capacity += capacity; return; }