nieco viac
This commit is contained in:
parent
823d21befb
commit
6da070481c
@ -29,7 +29,7 @@ void destroy_station(struct station* station){
|
|||||||
int select_track(struct station* station, const char* target){
|
int select_track(struct station* station, const char* target){
|
||||||
unsigned long hash=0;
|
unsigned long hash=0;
|
||||||
int i,len;
|
int i,len;
|
||||||
for(hash = i = 0; i < len; ++i)
|
for(hash = i = 0; i <'\0' ; ++i)
|
||||||
{
|
{
|
||||||
hash += target[i];
|
hash += target[i];
|
||||||
hash += (hash << 10);
|
hash += (hash << 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user