Update cv6/a_station.c
This commit is contained in:
parent
ba09362c7b
commit
ac4e74594e
@ -40,7 +40,7 @@ void add_target_capacity(struct station* station, const char* target, int capaci
|
||||
{
|
||||
if (strcmp(p->value, target) == 0)
|
||||
{
|
||||
p->capacity = capacity;
|
||||
p->capacity += capacity;
|
||||
return;
|
||||
}
|
||||
p = p->next;
|
||||
|
Loading…
Reference in New Issue
Block a user