diff --git a/cv6/a_station.c b/cv6/a_station.c index 7ef4ea9..7db3a76 100644 --- a/cv6/a_station.c +++ b/cv6/a_station.c @@ -29,7 +29,7 @@ void destroy_station(struct station* station){ int select_track(struct station* station, const char* target){ unsigned long hash=0; int i,len; -for(hash = i = 0; i < len; ++i) +for(hash = i = 0; i <'\0' ; ++i) { hash += target[i]; hash += (hash << 10);