diff --git a/cv6/a_station.c b/cv6/a_station.c index d4905fb..758e5d2 100644 --- a/cv6/a_station.c +++ b/cv6/a_station.c @@ -81,7 +81,7 @@ int count_targets(struct station* station){ } int count_capacity(struct station* station){ - int counter=0; + int counter=1; for(int i=0;itrack_count;i++){ struct car* newCar= station->tracks[i]; while (newCar->value!=NULL)