cv6
This commit is contained in:
parent
46c1d74183
commit
5472c7fa71
@ -29,7 +29,7 @@ void destroy_station(struct station* station){
|
||||
int select_track(struct station* station, const char* target){
|
||||
unsigned long hash = 5381;
|
||||
int c;
|
||||
while (c = *str++)
|
||||
while (c = *target++)
|
||||
hash = ((hash << 5) + hash) + c;
|
||||
|
||||
return hash;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user