From 5472c7fa71775cd028a397ce9d87548ebaa74776 Mon Sep 17 00:00:00 2001 From: Bohdan Kapliuk Date: Sun, 3 Nov 2024 17:05:51 +0200 Subject: [PATCH] cv6 --- cv6/a_station.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv6/a_station.c b/cv6/a_station.c index 8baf409..c6cb67d 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 = 5381; int c; - while (c = *str++) + while (c = *target++) hash = ((hash << 5) + hash) + c; return hash;